diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | content/renderer/render_widget.cc | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -224,3 +224,5 @@ Sungmann Cho <sungmann.cho@gmail.com> Evan Peterson <evan.peterson.ep@gmail.com> J. Ryan Stinnett <jryans@chromium.org> Matheus Bratfisch <matheusbrat@gmail.com> +Horia Olaru <olaru@adobe.com> +Horia Olaru <horia.olaru@gmail.com>
\ No newline at end of file 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(); |