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

Unified Diff: cc/test/layer_tree_test.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/test/fake_proxy.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index f95c7f4db952501c5f13b03861b5a8352cb25b44..c1a4b670965528dba8d005c5bb400f55e3b55722 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -111,7 +111,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void PostSetNeedsCommitToMainThread();
void PostAcquireLayerTextures();
void PostSetNeedsRedrawToMainThread();
- void PostSetNeedsRedrawRectToMainThread(const gfx::Rect& damage_rect);
+ void PostSetNeedsRedrawRectToMainThread(gfx::Rect damage_rect);
void PostSetVisibleToMainThread(bool visible);
void DoBeginTest();
@@ -131,7 +131,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void DispatchSetNeedsCommit();
void DispatchAcquireLayerTextures();
void DispatchSetNeedsRedraw();
- void DispatchSetNeedsRedrawRect(const gfx::Rect& damage_rect);
+ void DispatchSetNeedsRedrawRect(gfx::Rect damage_rect);
void DispatchSetVisible(bool visible);
void DispatchComposite();
void DispatchDidAddAnimation();
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698