Index: mojo/edk/embedder/embedder.cc |
diff --git a/mojo/edk/embedder/embedder.cc b/mojo/edk/embedder/embedder.cc |
index 9c73eb0e1250159694cfcb534c30511aae58f578..d538810ff51d369d867560af9588930ec774f800 100644 |
--- a/mojo/edk/embedder/embedder.cc |
+++ b/mojo/edk/embedder/embedder.cc |
@@ -62,7 +62,7 @@ void CreateChannelHelper( |
MakeChannel(platform_handle.Pass(), channel_endpoint); |
// Hand the channel back to the embedder. |
- if (callback_thread_task_runner.get()) { |
+ if (callback_thread_task_runner) { |
callback_thread_task_runner->PostTask( |
FROM_HERE, base::Bind(callback, channel_info.release())); |
} else { |
@@ -118,7 +118,7 @@ ScopedMessagePipeHandle CreateChannel( |
DidCreateChannelCallback callback, |
scoped_refptr<base::TaskRunner> callback_thread_task_runner) { |
DCHECK(platform_handle.is_valid()); |
- DCHECK(io_thread_task_runner.get()); |
+ DCHECK(io_thread_task_runner); |
DCHECK(!callback.is_null()); |
scoped_refptr<system::ChannelEndpoint> channel_endpoint; |
@@ -195,7 +195,7 @@ MojoResult PassWrappedPlatformHandle(MojoHandle platform_handle_wrapper_handle, |
DCHECK(internal::g_core); |
scoped_refptr<system::Dispatcher> dispatcher( |
internal::g_core->GetDispatcher(platform_handle_wrapper_handle)); |
- if (!dispatcher.get()) |
+ if (!dispatcher) |
return MOJO_RESULT_INVALID_ARGUMENT; |
if (dispatcher->GetType() != system::Dispatcher::kTypePlatformHandle) |