Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4499)

Unified Diff: cc/layers/ui_resource_layer_impl.cc

Issue 142863008: Revert of [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/ui_resource_layer_impl.h ('k') | cc/layers/ui_resource_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer_impl.cc
diff --git a/cc/layers/ui_resource_layer_impl.cc b/cc/layers/ui_resource_layer_impl.cc
index ad7fd2c5ef22d5e46760004d5f4e06a88c3c9b3d..8a45eaa9f70dc7621f343e8674a95dbf007c2fa2 100644
--- a/cc/layers/ui_resource_layer_impl.cc
+++ b/cc/layers/ui_resource_layer_impl.cc
@@ -49,7 +49,7 @@
NoteLayerPropertyChanged();
}
-void UIResourceLayerImpl::SetImageBounds(const gfx::Size& image_bounds) {
+void UIResourceLayerImpl::SetImageBounds(gfx::Size image_bounds) {
// This check imposes an ordering on the call sequence. An UIResource must
// exist before SetImageBounds can be called.
DCHECK(ui_resource_id_);
« no previous file with comments | « cc/layers/ui_resource_layer_impl.h ('k') | cc/layers/ui_resource_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698