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

Unified Diff: mojo/shell/app_child_process.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/shell/app_child_process.cc
diff --git a/mojo/shell/app_child_process.cc b/mojo/shell/app_child_process.cc
index 3b9dcb46aaf4aaa7f25921a796cf8295f59f83cd..054cd5d18fd24ba44fe0f684bd9f4332c9a86eef 100644
--- a/mojo/shell/app_child_process.cc
+++ b/mojo/shell/app_child_process.cc
@@ -102,7 +102,7 @@ class AppContext {
base::Thread::Options io_thread_options(base::MessageLoop::TYPE_IO, 0);
CHECK(io_thread_.StartWithOptions(io_thread_options));
io_runner_ = io_thread_.message_loop_proxy().get();
- CHECK(io_runner_);
+ CHECK(io_runner_.get());
// Create and start our controller thread.
base::Thread::Options controller_thread_options;
@@ -112,7 +112,7 @@ class AppContext {
base::Bind(&common::MessagePumpMojo::Create);
CHECK(controller_thread_.StartWithOptions(controller_thread_options));
controller_runner_ = controller_thread_.message_loop_proxy().get();
- CHECK(controller_runner_);
+ CHECK(controller_runner_.get());
}
void Shutdown() {

Powered by Google App Engine
This is Rietveld 408576698