Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index 177342e4121263472842d07ea93ad0f2afaf642f..f7db3e1b55216a86ea47419b8c8bfff03f28a95a 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -42,8 +42,8 @@ class LayerTreeHostCommonTestBase { |
LayerType* layer, |
const gfx::Transform& transform, |
const gfx::Transform& sublayer_transform, |
- gfx::PointF anchor, |
- gfx::PointF position, |
+ const gfx::PointF& anchor, |
+ const gfx::PointF& position, |
gfx::Size bounds, |
bool preserves3d) { |
layer->SetTransform(transform); |
@@ -57,8 +57,8 @@ class LayerTreeHostCommonTestBase { |
void SetLayerPropertiesForTesting(Layer* layer, |
const gfx::Transform& transform, |
const gfx::Transform& sublayer_transform, |
- gfx::PointF anchor, |
- gfx::PointF position, |
+ const gfx::PointF& anchor, |
+ const gfx::PointF& position, |
gfx::Size bounds, |
bool preserves3d) { |
SetLayerPropertiesForTestingInternal<Layer>(layer, |
@@ -73,8 +73,8 @@ class LayerTreeHostCommonTestBase { |
void SetLayerPropertiesForTesting(LayerImpl* layer, |
const gfx::Transform& transform, |
const gfx::Transform& sublayer_transform, |
- gfx::PointF anchor, |
- gfx::PointF position, |
+ const gfx::PointF& anchor, |
+ const gfx::PointF& position, |
gfx::Size bounds, |
bool preserves3d) { |
SetLayerPropertiesForTestingInternal<LayerImpl>(layer, |