Index: cc/test/layer_tree_pixel_test.h |
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h |
index d905d539606a7df0ed7697d247516bb174ce96bd..a72f1db2d82825dd7888a6656f05a2e4ed584c6e 100644 |
--- a/cc/test/layer_tree_pixel_test.h |
+++ b/cc/test/layer_tree_pixel_test.h |
@@ -48,14 +48,14 @@ class LayerTreePixelTest : public LayerTreeTest { |
void TryEndTest(); |
- scoped_refptr<SolidColorLayer> CreateSolidColorLayer(gfx::Rect rect, |
+ scoped_refptr<SolidColorLayer> CreateSolidColorLayer(const gfx::Rect& rect, |
SkColor color); |
scoped_refptr<SolidColorLayer> CreateSolidColorLayerWithBorder( |
- gfx::Rect rect, |
+ const gfx::Rect& rect, |
SkColor color, |
int border_width, |
SkColor border_color); |
- scoped_refptr<TextureLayer> CreateTextureLayer(gfx::Rect rect, |
+ scoped_refptr<TextureLayer> CreateTextureLayer(const gfx::Rect& rect, |
const SkBitmap& bitmap); |
enum PixelTestType { |