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

Unified Diff: mojo/system/channel_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/channel_unittest.cc
diff --git a/mojo/system/channel_unittest.cc b/mojo/system/channel_unittest.cc
index 0f6c7745ca521c3ded1da820e542c90387999a9b..dbb7de8f4f7bc373c93cd9f7ceca47e82ae21788 100644
--- a/mojo/system/channel_unittest.cc
+++ b/mojo/system/channel_unittest.cc
@@ -50,7 +50,7 @@ class ChannelTest : public testing::Test {
CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop());
CHECK(raw_channel_);
- CHECK(channel_);
+ CHECK(channel_.get());
CHECK_EQ(init_result_, TRISTATE_UNKNOWN);
init_result_ = BoolToTristate(channel_->Init(raw_channel_.Pass()));
@@ -59,7 +59,7 @@ class ChannelTest : public testing::Test {
void ShutdownChannelOnIOThread() {
CHECK_EQ(base::MessageLoop::current(), io_thread()->message_loop());
- CHECK(channel_);
+ CHECK(channel_.get());
channel_->Shutdown();
}
« mojo/system/channel.cc ('K') | « mojo/system/channel.cc ('k') | mojo/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698