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

Unified Diff: cc/layers/layer_impl.h

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 83a2ffaf53ec05229093559f6d3bda601c160026..19aa727ffe3e38d3bb6b09223fb3ab936ad6801a 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -163,10 +163,10 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
return is_container_for_fixed_position_layers_;
}
- void SetFixedContainerSizeDelta(const gfx::Vector2dF& delta) {
+ void SetFixedContainerSizeDelta(gfx::Vector2dF delta) {
fixed_container_size_delta_ = delta;
}
- const gfx::Vector2dF& fixed_container_size_delta() const {
+ gfx::Vector2dF fixed_container_size_delta() const {
return fixed_container_size_delta_;
}
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698