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 711366c095ef51691e74f5b4efbb2e7b85670df6..b0521fff0fa13eb30203d0adb58de2de5955698a 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2983,7 +2983,7 @@ class PushPropertiesCountingLayer : public Layer { |
Layer::PushPropertiesTo(layer); |
push_properties_count_++; |
if (persist_needs_push_properties_) { |
- layer_tree_host()->AddLayerShouldPushProperties(this); |
+ layer_tree_host()->GetLayerTree()->AddLayerShouldPushProperties(this); |
} |
} |