use bounds instead of bounds_in_pixel

This commit is contained in:
Heilig Benedek 2017-04-12 19:34:52 +02:00
parent 1fcf6ea73f
commit c54f7f2a8d

View file

@ -1117,9 +1117,9 @@ void OffScreenRenderWidgetHostView::Invalidate() {
void OffScreenRenderWidgetHostView::InvalidateBounds(const gfx::Rect& bounds) {
if (software_output_device_) {
software_output_device_->OnPaint(bounds_in_pixels);
software_output_device_->OnPaint(bounds);
} else if (copy_frame_generator_) {
copy_frame_generator_->GenerateCopyFrame(bounds_in_pixels);
copy_frame_generator_->GenerateCopyFrame(bounds);
}
}