| Index: ios/web/web_thread_impl.cc
|
| diff --git a/ios/web/web_thread_impl.cc b/ios/web/web_thread_impl.cc
|
| index 1cfa9a7d3b7f34eb0a82ba549b1aaf67ef7913c2..d835251083ce8fd0d0ca5923f4945c96c3480f8d 100644
|
| --- a/ios/web/web_thread_impl.cc
|
| +++ b/ios/web/web_thread_impl.cc
|
| @@ -481,19 +481,6 @@ scoped_refptr<base::SingleThreadTaskRunner> WebThread::GetTaskRunnerForThread(
|
| }
|
|
|
| // static
|
| -base::MessageLoop* WebThread::UnsafeGetMessageLoopForThread(ID identifier) {
|
| - if (g_globals == nullptr)
|
| - return nullptr;
|
| -
|
| - WebThreadGlobals& globals = g_globals.Get();
|
| - base::AutoLock lock(globals.lock);
|
| - base::Thread* thread = globals.threads[identifier];
|
| - DCHECK(thread);
|
| - base::MessageLoop* loop = thread->message_loop();
|
| - return loop;
|
| -}
|
| -
|
| -// static
|
| void WebThread::SetDelegate(ID identifier, WebThreadDelegate* delegate) {
|
| using base::subtle::AtomicWord;
|
| WebThreadGlobals& globals = g_globals.Get();
|
|
|