| 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 4efbffa144c3f3c7f4cb2c2a2fff8891f7c2eef1..7a0492aeb0e27010b4d63e8062afab20033f8693 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -183,6 +183,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_;
|
| }
|
| @@ -405,8 +408,6 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const;
|
|
|
| - void DidInitializeVisibleTileForTesting() { DidInitializeVisibleTile(); }
|
| -
|
| protected:
|
| LayerTreeHostImpl(
|
| const LayerTreeSettings& settings,
|
| @@ -478,7 +479,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| bool zero_budget);
|
| void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
|
|
|
| - void DidInitializeVisibleTile();
|
| + void DidInitializeVisibleTile(bool notify_client);
|
|
|
| typedef base::hash_map<UIResourceId, ResourceProvider::ResourceId>
|
| UIResourceMap;
|
|
|