Index: ui/compositor/canvas_painter.cc |
diff --git a/ui/compositor/canvas_painter.cc b/ui/compositor/canvas_painter.cc |
index a12e85ab06efe118dfddcef8d0cac1ca04b90f4a..864d8b03e84c1b9b980486687d0138a5baf344bb 100644 |
--- a/ui/compositor/canvas_painter.cc |
+++ b/ui/compositor/canvas_painter.cc |
@@ -11,13 +11,17 @@ namespace ui { |
CanvasPainter::CanvasPainter(SkBitmap* output, |
const gfx::Size& paint_size, |
float raster_scale, |
- SkColor clear_color) |
+ SkColor clear_color, |
+ bool is_pixel_canvas) |
: output_(output), |
paint_size_(paint_size), |
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_), |
+ is_pixel_canvas) {} |
CanvasPainter::~CanvasPainter() { |
gfx::Size pixel_size = gfx::ScaleToCeiledSize(paint_size_, raster_scale_); |