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

Unified Diff: cc/test/layer_tree_json_parser_unittest.cc

Issue 2615773003: Replace LayerImpl::sorting_context_id with transform reference. (Closed)
Patch Set: Update tests. Created 3 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
Index: cc/test/layer_tree_json_parser_unittest.cc
diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
index e600eef95bbe00a7d4a7f9670161d5bc70ac6dcf..9b0477a035ca7e6c9adfd403d2665aab2ae8c146 100644
--- a/cc/test/layer_tree_json_parser_unittest.cc
+++ b/cc/test/layer_tree_json_parser_unittest.cc
@@ -84,6 +84,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
parent->test_properties()->AddChild(std::move(child));
root_impl->test_properties()->AddChild(std::move(parent));
tree->SetRootLayerForTesting(std::move(root_impl));
+ tree->BuildPropertyTreesForTesting();
std::string json = host_impl.LayerTreeAsJson();
scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
@@ -111,6 +112,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, EventHandlerRegions) {
root_impl->test_properties()->AddChild(std::move(touch_layer));
tree->SetRootLayerForTesting(std::move(root_impl));
+ tree->BuildPropertyTreesForTesting();
std::string json = host_impl.LayerTreeAsJson();
scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);

Powered by Google App Engine
This is Rietveld 408576698