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

Unified Diff: cc/trees/property_tree_unittest.cc

Issue 2437923002: cc: Change ClipNode::applies_local_clip to a clip_type enum (Closed)
Patch Set: Created 4 years, 2 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/trees/property_tree_unittest.cc
diff --git a/cc/trees/property_tree_unittest.cc b/cc/trees/property_tree_unittest.cc
index 3171831efecba42a7420aea352838a36ea8e5b43..e3a40835e22fe741231ab1d93896c44041a3f355 100644
--- a/cc/trees/property_tree_unittest.cc
+++ b/cc/trees/property_tree_unittest.cc
@@ -113,7 +113,7 @@ TEST(PropertyTreeSerializationTest, ClipNodeSerialization) {
original.transform_id = 2;
original.target_transform_id = 3;
original.target_effect_id = 4;
- original.applies_local_clip = false;
+ original.clip_type = ClipNode::ClipType::NONE;
original.layer_clipping_uses_only_local_clip = false;
original.target_is_clipped = false;
original.layers_are_clipped = false;
@@ -138,7 +138,7 @@ TEST(PropertyTreeSerializationTest, ClipTreeSerialization) {
ClipNode second;
second.owner_id = 2;
second.transform_id = 4;
- second.applies_local_clip = true;
+ second.clip_type = ClipNode::ClipType::APPLIES_LOCAL_CLIP;
ClipNode third;
third.owner_id = 3;
third.target_transform_id = 3;

Powered by Google App Engine
This is Rietveld 408576698