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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/glue/resource_request_body_unittest.cc ('k') | webkit/glue/websocketstreamhandle_impl.cc » ('j') | no next file with comments »
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 0d33d2e8d503e0e661e3355bd12cccc458cc0526..c4d9e5216e05c6bd72bf846cabdeaea949a7a599 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -829,10 +829,10 @@ WebKit::WebThread* WebKitPlatformSupportImpl::currentThread() {
scoped_refptr<base::MessageLoopProxy> message_loop =
base::MessageLoopProxy::current();
- if (!message_loop)
+ if (!message_loop.get())
return NULL;
- thread = new WebThreadImplForMessageLoop(message_loop);
+ thread = new WebThreadImplForMessageLoop(message_loop.get());
current_thread_slot_.Set(thread);
return thread;
}
« no previous file with comments | « webkit/glue/resource_request_body_unittest.cc ('k') | webkit/glue/websocketstreamhandle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698