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

Unified Diff: cc/trees/layer_tree_host_unittest_occlusion.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/layer_tree_host_impl.cc ('k') | cc/trees/proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_occlusion.cc
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc
index a838e9dc78106c13417117fa1e87acab53a9b2cd..ea32a9e338b75d44f18510ab159f3d4c50f0d767 100644
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc
@@ -81,9 +81,12 @@ class LayerTreeHostOcclusionTest : public LayerTreeTest {
}
}
- void SetLayerPropertiesForTesting(
- TestLayer* layer, TestLayer* parent, const gfx::Transform& transform,
- const gfx::PointF& position, const gfx::Size& bounds, bool opaque) const {
+ void SetLayerPropertiesForTesting(TestLayer* layer,
+ TestLayer* parent,
+ const gfx::Transform& transform,
+ gfx::PointF position,
+ gfx::Size bounds,
+ bool opaque) const {
layer->RemoveAllChildren();
if (parent)
parent->AddChild(layer);
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698