Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index cadc4578e9807d93fb0852b00a2f39f0ae9a60c5..9d01bd653cb692523f0cfccf3bcc9f098ad0f097 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -190,12 +190,10 @@ |
RenderingStatsInstrumentation* rendering_stats_instrumentation, |
TaskGraphRunner* task_graph_runner, |
std::unique_ptr<MutatorHost> mutator_host, |
- int id, |
- scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner) { |
+ int id) { |
return base::WrapUnique(new LayerTreeHostImpl( |
settings, client, task_runner_provider, rendering_stats_instrumentation, |
- task_graph_runner, std::move(mutator_host), id, |
- std::move(image_worker_task_runner))); |
+ task_graph_runner, std::move(mutator_host), id)); |
} |
LayerTreeHostImpl::LayerTreeHostImpl( |
@@ -205,8 +203,7 @@ |
RenderingStatsInstrumentation* rendering_stats_instrumentation, |
TaskGraphRunner* task_graph_runner, |
std::unique_ptr<MutatorHost> mutator_host, |
- int id, |
- scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner) |
+ int id) |
: client_(client), |
task_runner_provider_(task_runner_provider), |
current_begin_frame_tracker_(BEGINFRAMETRACKER_FROM_HERE), |
@@ -232,7 +229,6 @@ |
// task_runner_provider_. |
tile_manager_(this, |
GetTaskRunner(), |
- std::move(image_worker_task_runner), |
is_synchronous_single_threaded_ |
? std::numeric_limits<size_t>::max() |
: settings.scheduled_raster_task_limit, |
@@ -277,8 +273,6 @@ |
browser_controls_offset_manager_ = BrowserControlsOffsetManager::Create( |
this, settings.top_controls_show_threshold, |
settings.top_controls_hide_threshold); |
- |
- tile_manager_.SetDecodedImageTracker(&decoded_image_tracker_); |
} |
LayerTreeHostImpl::~LayerTreeHostImpl() { |
@@ -1853,7 +1847,6 @@ |
void LayerTreeHostImpl::DidFinishImplFrame() { |
current_begin_frame_tracker_.Finish(); |
- decoded_image_tracker_.NotifyFrameFinished(); |
} |
void LayerTreeHostImpl::UpdateViewportContainerSizes() { |