Index: cc/output/output_surface.cc |
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc |
index f3952d51b877cb8360453a215b18f223405a511f..9ba6dbbc1ebde32b6cd0cae24e5fc8ea2b401a84 100644 |
--- a/cc/output/output_surface.cc |
+++ b/cc/output/output_surface.cc |
@@ -355,7 +355,7 @@ void OutputSurface::DiscardBackbuffer() { |
software_device_->DiscardBackbuffer(); |
} |
-void OutputSurface::Reshape(gfx::Size size, float scale_factor) { |
+void OutputSurface::Reshape(const gfx::Size& size, float scale_factor) { |
if (size == surface_size_ && scale_factor == device_scale_factor_) |
return; |