Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index e747d7b7ed8aec95e3b546b764583bd9e622fc24..0b99920ddac1d1df83dbe50d3ae2b841cd47247e 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -185,6 +185,9 @@ class CC_EXPORT LayerTreeHostImpl |
// immediately if any notifications had been blocked while blocking. |
virtual void BlockNotifyReadyToActivateForTesting(bool block); |
+ // This allows us to inject DidInitializeVisibleTile events for testing. |
+ void DidInitializeVisibleTileForTesting(); |
+ |
bool device_viewport_valid_for_tile_management() const { |
return device_viewport_valid_for_tile_management_; |
} |
@@ -409,8 +412,6 @@ class CC_EXPORT LayerTreeHostImpl |
ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const; |
- void DidInitializeVisibleTileForTesting() { DidInitializeVisibleTile(); } |
- |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |