diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-08-14 11:38:45 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-08-14 17:16:47 +0000 |
commit | 3a97ca8dd9b96b599ae2d33e40df0dd2f7ea5859 (patch) | |
tree | 43cc572ba067417c7341db81f71ae7cc6e0fcc3e /chromium/ui/wm/core/image_grid.cc | |
parent | f61ab1ac7f855cd281809255c0aedbb1895e1823 (diff) | |
download | qtwebengine-chromium-3a97ca8dd9b96b599ae2d33e40df0dd2f7ea5859.tar.gz |
BASELINE: Update chromium to 45.0.2454.40
Change-Id: Id2121d9f11a8fc633677236c65a3e41feef589e4
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'chromium/ui/wm/core/image_grid.cc')
-rw-r--r-- | chromium/ui/wm/core/image_grid.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/ui/wm/core/image_grid.cc b/chromium/ui/wm/core/image_grid.cc index c849454412a..61548422bd8 100644 --- a/chromium/ui/wm/core/image_grid.cc +++ b/chromium/ui/wm/core/image_grid.cc @@ -268,7 +268,8 @@ void ImageGrid::ImagePainter::SetClipRect(const gfx::Rect& clip_rect, } void ImageGrid::ImagePainter::OnPaintLayer(const ui::PaintContext& context) { - ui::PaintRecorder recorder(context); + gfx::Size bounding_size(clip_rect_.right(), clip_rect_.bottom()); + ui::PaintRecorder recorder(context, bounding_size); if (!clip_rect_.IsEmpty()) recorder.canvas()->ClipRect(clip_rect_); recorder.canvas()->DrawImageInt(image_, 0, 0); |