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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1772953002: content: Enable image decode tasks on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 24a126854db38853f9facda462375617a2ceac4d..f5e62019fac16e78a9c0ff9c1d4d2aee30e099ee 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -824,13 +824,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