Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index 91280b10af4d6464b9d3b87902fae3a2a2e0db91..02fc70d365f1c411afbc492fcf389c099fb05e12 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -559,12 +559,12 @@ WebKit::WebThread* WebKitPlatformSupportImpl::currentThread() { |
if (thread) |
return (thread); |
- scoped_refptr<base::MessageLoopProxy> message_loop = |
- base::MessageLoopProxy::current(); |
+ MessageLoop* message_loop = MessageLoop::current(); |
if (!message_loop) |
return NULL; |
- thread = new WebThreadImplForMessageLoop(message_loop); |
+ thread = new WebThreadImplForMessageLoop( |
+ message_loop, base::PlatformThread::CurrentId()); |
current_thread_slot_.Set(thread); |
return thread; |
} |