mirror of
https://github.com/electron/electron.git
synced 2026-02-14 17:14:57 -05:00
use bounds instead of bounds_in_pixel
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user