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

Unified Diff: cc/trees/single_thread_proxy.cc

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/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 1ebb2fda6fb3d1d72a5c981a151552c97d67cabd..859952fc4c999c00b6a19ea975a622b1f45dc812 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -228,7 +228,7 @@ void SingleThreadProxy::SetNeedsCommit() {
layer_tree_host_->ScheduleComposite();
}
-void SingleThreadProxy::SetNeedsRedraw(const gfx::Rect& damage_rect) {
+void SingleThreadProxy::SetNeedsRedraw(gfx::Rect damage_rect) {
// FIXME: Once we move render_widget scheduling into this class, we can
// treat redraw requests more efficiently than CommitAndRedraw requests.
layer_tree_host_impl_->SetViewportDamage(damage_rect);
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698