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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1903973004: (Reland) content: Enable image decode tasks on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index ade8c17bc6dd770627f5e8a6e71933bdcc68c5a6..3c2b514b7c129b0be15c55322ede98db8eabd21a 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -837,13 +837,9 @@ void RenderThreadImpl::Init(
DCHECK(parsed_num_raster_threads) << string_value;
DCHECK_GT(num_raster_threads, 0);
-#if defined(OS_ANDROID)
- // Note: Currently, enabling image decode tasks only provides a benefit if
- // we use high quality interpolation filters, which are disabled on android.
- are_image_decode_tasks_enabled_ = false;
-#else
+ // TODO(vmpstr): If the flag sticks, we should clean it up and always have
+ // image decode tasks.
are_image_decode_tasks_enabled_ = true;
-#endif
raster_worker_pool_->Start(num_raster_threads);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698