Index: content/browser/browser_thread_impl.cc |
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc |
index 2cd2efffe6b70954551dabfae52d4055f269f6f3..b1b96b7569fed2ab10c0e329bff7f62160c7b645 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(); |
} |