| Index: content/renderer/gpu/compositor_output_surface.cc
|
| diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
|
| index 76998d6f5ffdd978c51850977d57326a8dd86a5e..d1ad1cc2a2ed8348416bc1610a1f6106add0dbc2 100644
|
| --- a/content/renderer/gpu/compositor_output_surface.cc
|
| +++ b/content/renderer/gpu/compositor_output_surface.cc
|
| @@ -207,12 +207,11 @@ bool CompositorOutputSurface::Send(IPC::Message* message) {
|
| #if defined(OS_ANDROID)
|
| namespace {
|
| void SetThreadPriorityToIdle() {
|
| - base::PlatformThread::SetThreadPriority(base::PlatformThread::CurrentHandle(),
|
| - base::ThreadPriority::BACKGROUND);
|
| + base::PlatformThread::SetCurrentThreadPriority(
|
| + base::ThreadPriority::BACKGROUND);
|
| }
|
| void SetThreadPriorityToDefault() {
|
| - base::PlatformThread::SetThreadPriority(base::PlatformThread::CurrentHandle(),
|
| - base::ThreadPriority::NORMAL);
|
| + base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::NORMAL);
|
| }
|
| } // namespace
|
| #endif
|
|
|