Index: cc/test/pixel_test.cc |
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc |
index 38a2b54a1bb4a6e919d8e41a67b7fb21274378bb..0a31bb0ccbb659ce6274632afc05bafe66cc9b8f 100644 |
--- a/cc/test/pixel_test.cc |
+++ b/cc/test/pixel_test.cc |
@@ -144,7 +144,7 @@ void PixelTest::ForceExpandedViewport(const gfx::Size& surface_expansion) { |
} |
} |
-void PixelTest::ForceViewportOffset(gfx::Vector2d viewport_offset) { |
+void PixelTest::ForceViewportOffset(const gfx::Vector2d& viewport_offset) { |
external_device_viewport_offset_ = viewport_offset; |
} |