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

Unified Diff: cc/trees/property_tree_unittest.cc

Issue 1626513003: Add ScrollTree builder and unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 4 years, 11 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/property_tree_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree_unittest.cc
diff --git a/cc/trees/property_tree_unittest.cc b/cc/trees/property_tree_unittest.cc
index ac3e067fad84f71ec55be220d1f671ee2beb2e8e..9d0c907b2adf0a04a93ef414589f3333db1a00fd 100644
--- a/cc/trees/property_tree_unittest.cc
+++ b/cc/trees/property_tree_unittest.cc
@@ -230,7 +230,6 @@ TEST(PropertyTreeSerializationTest, ScrollNodeDataSerialization) {
ScrollNodeData original;
original.scrollable = true;
original.should_scroll_on_main_thread = false;
- original.scroll_blocks_on = SCROLL_BLOCKS_ON_WHEEL_EVENT;
original.contains_non_fast_scrollable_region = false;
original.transform_id = 2;
@@ -267,6 +266,9 @@ TEST(PropertyTreeSerializationTest, ScrollTreeSerialization) {
third.data.transform_id = 5;
third.data.contains_non_fast_scrollable_region = true;
+ original.Insert(second, 0);
+ original.Insert(third, 1);
+
proto::PropertyTree proto;
original.ToProtobuf(&proto);
ScrollTree result;
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698