Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3045)

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2631453002: Revert of cc: Add image decode queue functionality to image manager. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698