Index: cc/test/pixel_test.cc |
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc |
index 713f09ef26d7c9fcede553c36dc763f0d7a8b900..79824c0d68c5f2ae1d8003391bd624e3ee8df9f5 100644 |
--- a/cc/test/pixel_test.cc |
+++ b/cc/test/pixel_test.cc |
@@ -151,7 +151,7 @@ void PixelTest::ForceViewportOffset(gfx::Vector2d viewport_offset) { |
external_device_viewport_offset_ = viewport_offset; |
} |
-void PixelTest::ForceDeviceClip(gfx::Rect clip) { |
+void PixelTest::ForceDeviceClip(const gfx::Rect& clip) { |
external_device_clip_rect_ = clip; |
} |