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

Unified Diff: cc/test/test_webkit_platform.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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
Index: cc/test/test_webkit_platform.cc
diff --git a/cc/test/test_webkit_platform.cc b/cc/test/test_webkit_platform.cc
index 403ba6130142b94716218a2b57fe9838e3b94915..45be9eab46ae81c17a9f1e98fe27b250ff84b213 100644
--- a/cc/test/test_webkit_platform.cc
+++ b/cc/test/test_webkit_platform.cc
@@ -33,10 +33,10 @@ WebKit::WebThread* TestWebKitPlatform::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 | « base/synchronization/waitable_event_watcher_posix.cc ('k') | chrome/browser/autocomplete/autocomplete_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698