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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1051863003: Turn ThreadPriority enum into an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setthreadpri
Patch Set: nits Created 5 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 | « content/browser/browser_main_loop.cc ('k') | content/child/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 853684f802e4b05a7edfb449be179f096b5c34aa..41c4acbebeca49721c5b611340595875edba55c4 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -146,7 +146,7 @@ class SingleThreadTaskGraphRunner
SingleThreadTaskGraphRunner()
: worker_thread_(this, "CompositorTileWorker1") {
worker_thread_.Start();
- worker_thread_.SetThreadPriority(base::kThreadPriority_Background);
+ worker_thread_.SetThreadPriority(base::ThreadPriority::BACKGROUND);
}
~SingleThreadTaskGraphRunner() override {
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/child/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698