Index: cc/resources/content_layer_updater.cc |
diff --git a/cc/resources/content_layer_updater.cc b/cc/resources/content_layer_updater.cc |
index 807ecbd11726e1c89e10dbe33617cb075a6acfa2..a176ac450f71d5ffccaf877d553f2267cff421cf 100644 |
--- a/cc/resources/content_layer_updater.cc |
+++ b/cc/resources/content_layer_updater.cc |
@@ -23,8 +23,8 @@ ContentLayerUpdater::ContentLayerUpdater( |
int layer_id) |
: rendering_stats_instrumentation_(stats_instrumentation), |
layer_id_(layer_id), |
- painter_(painter.Pass()), |
- layer_is_opaque_(false) {} |
+ layer_is_opaque_(false), |
+ painter_(painter.Pass()) {} |
ContentLayerUpdater::~ContentLayerUpdater() {} |
@@ -34,7 +34,7 @@ void ContentLayerUpdater::set_rendering_stats_instrumentation( |
} |
void ContentLayerUpdater::PaintContents(SkCanvas* canvas, |
- gfx::Point origin, |
+ const gfx::Point& origin, |
float contents_width_scale, |
float contents_height_scale, |
gfx::Rect* resulting_opaque_rect) { |