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

Unified Diff: cc/layers/layer_perftest.cc

Issue 23983047: Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 7 years 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
Index: cc/layers/layer_perftest.cc
diff --git a/cc/layers/layer_perftest.cc b/cc/layers/layer_perftest.cc
index 5a2de60d2035fb6b2af3b6681fdafce4e765f1d7..5e6d1dca153cc59b9ae18e286403f57c915b8e0e 100644
--- a/cc/layers/layer_perftest.cc
+++ b/cc/layers/layer_perftest.cc
@@ -80,7 +80,7 @@ TEST_F(LayerPerfTest, PushPropertiesTo) {
test_layer->SetDoubleSided(double_sided);
test_layer->SetHideLayerAndSubtree(hide_layer_and_subtree);
test_layer->SetMasksToBounds(masks_to_bounds);
- test_layer->SetScrollable(scrollable);
+ test_layer->SetScrollClipLayer(scrollable ? test_layer : NULL);
test_layer->PushPropertiesTo(impl_layer.get());
anchor_point_z += 0.01f;

Powered by Google App Engine
This is Rietveld 408576698