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

Unified Diff: cc/input/layer_scroll_offset_delegate.h

Issue 139173004: [#3] Pass gfx structs by const ref (gfx::SizeF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT and fixed build error for Android platform! 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/base/math_util.cc ('k') | cc/input/page_scale_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/layer_scroll_offset_delegate.h
diff --git a/cc/input/layer_scroll_offset_delegate.h b/cc/input/layer_scroll_offset_delegate.h
index 54a11c9e2bd6ba4e1c37f615714b1e5c2ba51153..1ee97367be70cf3b91d752de21dba852dbce4edc 100644
--- a/cc/input/layer_scroll_offset_delegate.h
+++ b/cc/input/layer_scroll_offset_delegate.h
@@ -44,7 +44,7 @@ class LayerScrollOffsetDelegate {
// This is called by the compositor to notify the delegate what is the layer's
// scrollable size is.
- virtual void SetScrollableSize(gfx::SizeF scrollable_size) = 0;
+ virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) = 0;
protected:
LayerScrollOffsetDelegate() {}
« no previous file with comments | « cc/base/math_util.cc ('k') | cc/input/page_scale_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698