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

Unified Diff: content/child/child_process.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/renderer_host/compositor_impl_android.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index db73ea32e48f6f45fcd6a5e20f3bf7550433d375..e4da8563e4e1144c73cdd05b37f9f21e2e040e27 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -48,7 +48,7 @@ ChildProcess::ChildProcess()
base::Thread::Options(base::MessageLoop::TYPE_IO, 0)));
#if defined(OS_ANDROID)
- io_thread_.SetPriority(base::kThreadPriority_Display);
+ io_thread_.SetPriority(base::ThreadPriority::DISPLAY);
#endif
}
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698