diff options
Diffstat (limited to 'content/renderer/render_widget.cc')
-rw-r--r-- | content/renderer/render_widget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc index 0c3f5e5..ef034da 100644 --- a/content/renderer/render_widget.cc +++ b/content/renderer/render_widget.cc @@ -774,6 +774,7 @@ void RenderWidget::PaintRect(const gfx::Rect& rect, // Canvas could contain multiple update rects. Clip to given rect so that // we don't accidentally clear other update rects. canvas->save(); + canvas->scale(device_scale_factor_, device_scale_factor_); canvas->clipRect(gfx::RectToSkRect(rect)); canvas->drawPaint(paint); canvas->restore(); |