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

Unified Diff: cc/trees/proxy.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 | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index ff7ef404cc8976bdb3ef3a0b53aa94056eea7de7..14c6f800f86a609c9f1a880d32c532b93966d3bb 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -76,7 +76,7 @@ class CC_EXPORT Proxy {
virtual void SetNeedsAnimate() = 0;
virtual void SetNeedsCommit() = 0;
- virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0;
+ virtual void SetNeedsRedraw(gfx::Rect damage_rect) = 0;
// Defers commits until it is reset. It is only supported when in threaded
// mode. It's an error to make a sync call like CompositeAndReadback while
« no previous file with comments | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698