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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 1688563002: cc :: Move some tracking of layer_property_changed to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/layer_tree_host_impl_unittest.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 89c47e14b00f1908836a9f8bb0d5181b85c239d1..753a5c2e5dd65683bbdc64a48770ffe94b48d287 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -2860,6 +2860,7 @@ class LayerTreeHostTestLayersPushProperties : public LayerTreeHostTest {
child_->MakePushProperties();
// The modified layer needs commit
++expected_push_properties_child_;
+ ++expected_push_properties_grandchild_;
break;
case 13:
child2_->MakePushProperties();
@@ -3019,8 +3020,10 @@ class LayerTreeHostTestImplLayersPushProperties
// The leaf that always pushes is pushed.
++expected_push_properties_grandchild_impl_;
- // This child position was changed.
+ // This child position was changed. So the subtree needs to push
+ // properties.
++expected_push_properties_child2_impl_;
+ ++expected_push_properties_grandchild2_impl_;
break;
case 13:
// The position of this child was changed.
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698