Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index bf495b9acee30d23d3e376129b6ebe550fd0121c..2231097391940688105124febafa0f5c1d456ed9 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1044,10 +1044,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. |