Index: cc/layers/nine_patch_layer.cc |
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc |
index f6761318cd866a60530eaa07dd10dca99e44b4be..e63b0002a594b78e480bb8ba9a3a134953e91d86 100644 |
--- a/cc/layers/nine_patch_layer.cc |
+++ b/cc/layers/nine_patch_layer.cc |
@@ -27,14 +27,14 @@ scoped_ptr<LayerImpl> NinePatchLayer::CreateLayerImpl( |
return NinePatchLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>(); |
} |
-void NinePatchLayer::SetBorder(gfx::Rect border) { |
+void NinePatchLayer::SetBorder(const gfx::Rect& border) { |
if (border == border_) |
return; |
border_ = border; |
SetNeedsCommit(); |
} |
-void NinePatchLayer::SetAperture(gfx::Rect aperture) { |
+void NinePatchLayer::SetAperture(const gfx::Rect& aperture) { |
if (image_aperture_ == aperture) |
return; |