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 defe796f66d66461042687c1583d1c89ad80c6d1..2efe2dab6196301fe3cad01b49ba2ac36950010b 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -142,6 +142,7 @@ class CC_EXPORT LayerTreeHostImpl |
RenderingStatsInstrumentation* rendering_stats_instrumentation, |
SharedBitmapManager* shared_bitmap_manager, |
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, |
+ TaskGraphRunner* task_graph_runner, |
int id); |
~LayerTreeHostImpl() override; |
@@ -531,12 +532,16 @@ class CC_EXPORT LayerTreeHostImpl |
RenderingStatsInstrumentation* rendering_stats_instrumentation, |
SharedBitmapManager* shared_bitmap_manager, |
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, |
+ TaskGraphRunner* task_graph_runner, |
int id); |
- |
// Virtual for testing. |
virtual void AnimateLayers(base::TimeTicks monotonic_time); |
+ bool is_likely_to_require_a_draw() const { |
+ return is_likely_to_require_a_draw_; |
+ } |
+ |
LayerTreeHostImplClient* client_; |
Proxy* proxy_; |
@@ -731,6 +736,7 @@ class CC_EXPORT LayerTreeHostImpl |
SharedBitmapManager* shared_bitmap_manager_; |
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
+ TaskGraphRunner* task_graph_runner_; |
int id_; |
std::set<SwapPromiseMonitor*> swap_promise_monitor_; |