Index: cc/layers/nine_patch_layer_impl.h |
diff --git a/cc/layers/nine_patch_layer_impl.h b/cc/layers/nine_patch_layer_impl.h |
index d85e40f3049a19b9b0e164dfaaf9998ea8c6c395..fb3e66e657597accc4c0974464b5a744ad14da9d 100644 |
--- a/cc/layers/nine_patch_layer_impl.h |
+++ b/cc/layers/nine_patch_layer_impl.h |
@@ -53,8 +53,8 @@ class CC_EXPORT NinePatchLayerImpl : public UIResourceLayerImpl { |
// |image_aperture| = (X, Y, P, Q) |
// |border| = (A, C, A + B, C + D) |
// |fill_center| indicates whether to draw the center quad or not. |
- void SetLayout(gfx::Rect image_aperture, |
- gfx::Rect border, |
+ void SetLayout(const gfx::Rect& image_aperture, |
+ const gfx::Rect& border, |
bool fill_center); |
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |