Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 9167034: Add support for Run + Quit to WebKit::WebThread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update with MessageLoop-agnostic API names Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webthread_impl.h » ('j') | webkit/glue/webthread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | webkit/glue/webthread_impl.h » ('j') | webkit/glue/webthread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698