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

Unified Diff: cc/layers/layer_impl_unittest.cc

Issue 2655233006: cc : Clean up cc clip tree (Closed)
Patch Set: blink_tests Created 3 years, 9 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
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;
}
« no previous file with comments | « cc/BUILD.gn ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | cc/trees/clip_node.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698