Index: mojo/spy/spy.cc |
diff --git a/mojo/spy/spy.cc b/mojo/spy/spy.cc |
index 58310d84cc092dea9a8048d5e723662b7a14f6e1..4c7ed0d511881b724e71b2ed91f20596eaa80d99 100644 |
--- a/mojo/spy/spy.cc |
+++ b/mojo/spy/spy.cc |
@@ -239,7 +239,7 @@ class SpyInterceptor : public mojo::ServiceManager::Interceptor { |
// You can get an invalid handle if the app (or service) is |
// created by unconventional means, for example the command line. |
- if (!real_client.get()) |
+ if (!real_client) |
return real_client.Pass(); |
mojo::ScopedMessagePipeHandle faux_client; |