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

Unified Diff: mojo/system/platform_handle_dispatcher_unittest.cc

Issue 502573006: Remove implicit conversions from scoped_refptr to T* in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: mojo/system/platform_handle_dispatcher_unittest.cc
diff --git a/mojo/system/platform_handle_dispatcher_unittest.cc b/mojo/system/platform_handle_dispatcher_unittest.cc
index e8a8399e94428f59deb944767d0b05799f371834..df2e36c46f4330f761cfde5d289fab3c4d8b877c 100644
--- a/mojo/system/platform_handle_dispatcher_unittest.cc
+++ b/mojo/system/platform_handle_dispatcher_unittest.cc
@@ -84,7 +84,7 @@ TEST(PlatformHandleDispatcherTest, CreateEquivalentDispatcherAndClose) {
scoped_refptr<Dispatcher> generic_dispatcher =
transport.CreateEquivalentDispatcherAndClose();
- ASSERT_TRUE(generic_dispatcher);
+ ASSERT_TRUE(generic_dispatcher.get());
transport.End();
EXPECT_TRUE(dispatcher->HasOneRef());

Powered by Google App Engine
This is Rietveld 408576698