Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 1c382158cd232976e252624f4edf3dcf1ca5d734..fcb540c3318fcf859bd1631eb39534b1fb94a34b 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1036,10 +1036,9 @@ int BrowserMainLoop::BrowserThreadsStarted() { |
#if defined(OS_ANDROID) |
// Up the priority of anything that touches with display tasks |
// (this thread is UI thread, and io_thread_ is for IPCs). |
- io_thread_->SetPriority(base::kThreadPriority_Display); |
- base::PlatformThread::SetThreadPriority( |
- base::PlatformThread::CurrentHandle(), |
- base::kThreadPriority_Display); |
+ io_thread_->SetPriority(base::ThreadPriority::DISPLAY); |
+ base::PlatformThread::SetThreadPriority(base::PlatformThread::CurrentHandle(), |
+ base::ThreadPriority::DISPLAY); |
// On Android, GLSurface::InitializeOneOff() must be called before |
// initalizing the GpuDataManagerImpl as it uses the GL bindings. |