Index: ui/compositor/canvas_painter.cc |
diff --git a/ui/compositor/canvas_painter.cc b/ui/compositor/canvas_painter.cc |
index a12e85ab06efe118dfddcef8d0cac1ca04b90f4a..def2fc6d5ec7b520a39f4293a2c650818269cbbc 100644 |
--- a/ui/compositor/canvas_painter.cc |
+++ b/ui/compositor/canvas_painter.cc |
@@ -17,7 +17,8 @@ CanvasPainter::CanvasPainter(SkBitmap* output, |
raster_scale_(raster_scale), |
clear_color_(clear_color), |
list_(new cc::DisplayItemList), |
- context_(list_.get(), raster_scale, gfx::Rect(paint_size_)) {} |
+ context_(list_.get(), raster_scale, gfx::Rect(paint_size_), paint_size_) { |
+} |
CanvasPainter::~CanvasPainter() { |
gfx::Size pixel_size = gfx::ScaleToCeiledSize(paint_size_, raster_scale_); |