Index: cc/layers/layer_impl_unittest.cc |
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc |
index b51fae0069a063ef3f43ab304907bc76f0ce59d9..6efa7130943d4651e368e0c2c3db48c19499c260 100644 |
--- a/cc/layers/layer_impl_unittest.cc |
+++ b/cc/layers/layer_impl_unittest.cc |
@@ -139,6 +139,7 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) { |
host_impl.active_tree()->SetRootLayerForTesting(std::move(root_clip_ptr)); |
root->test_properties()->force_render_surface = true; |
+ root->SetMasksToBounds(true); |
weiliangc
2017/03/14 22:04:29
Why is set maskstobounds needed here?
jaydasika
2017/03/16 20:33:30
To make root get a clip node, otherwise when we ch
|
root->layer_tree_impl()->ResetAllChangeTracking(); |
root->test_properties()->AddChild( |
@@ -443,7 +444,6 @@ class LayerImplScrollTest : public testing::Test { |
LayerTreeSettings settings() { |
LayerTreeSettings settings; |
- settings.verify_clip_tree_calculations = true; |
return settings; |
} |