Index: cc/layers/nine_patch_layer_impl.cc |
diff --git a/cc/layers/nine_patch_layer_impl.cc b/cc/layers/nine_patch_layer_impl.cc |
index 2987179ae2e0dba55cb308876c322b670031bcef..a053d5e1e738057e2c5f0e9f43ea00f2ae5362b4 100644 |
--- a/cc/layers/nine_patch_layer_impl.cc |
+++ b/cc/layers/nine_patch_layer_impl.cc |
@@ -44,8 +44,8 @@ static gfx::RectF NormalizedRect(float x, |
height / total_height); |
} |
-void NinePatchLayerImpl::SetLayout(gfx::Rect aperture, |
- gfx::Rect border, |
+void NinePatchLayerImpl::SetLayout(const gfx::Rect& aperture, |
+ const gfx::Rect& border, |
bool fill_center) { |
// This check imposes an ordering on the call sequence. An UIResource must |
// exist before SetLayout can be called. |