Index: content/browser/browser_thread_impl.cc |
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc |
index 8df7974b7ee91922119b4d1ab7292c8f0af0c68a..0d86c7d2cfdb0c9bb9df1903978f0e67d1b906f0 100644 |
--- a/content/browser/browser_thread_impl.cc |
+++ b/content/browser/browser_thread_impl.cc |
@@ -218,7 +218,7 @@ void BrowserThreadImpl::Init() { |
identifier_ == BrowserThread::PROCESS_LAUNCHER || |
identifier_ == BrowserThread::CACHE) { |
// Nesting and task observers are not allowed on redirected threads. |
- message_loop()->DisallowNesting(); |
+ base::RunLoop::DisallowNestingOnCurrentThread(); |
message_loop()->DisallowTaskObservers(); |
} |