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

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: Change the protobuf indices 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
« cc/proto/property_tree.proto ('K') | « 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..42f0fdebfa23afa868aed6a2eea386091714a3ed 100644
--- a/cc/trees/property_tree_unittest.cc
+++ b/cc/trees/property_tree_unittest.cc
@@ -267,6 +267,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;
« cc/proto/property_tree.proto ('K') | « cc/trees/property_tree_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698