Index: remoting/base/auto_thread.cc |
diff --git a/remoting/base/auto_thread.cc b/remoting/base/auto_thread.cc |
index dd7cc17f52189ce49f45e60ab66bc2192680ecc7..c55a7617926f288571d6ff1f6eab7c1e78031c1c 100644 |
--- a/remoting/base/auto_thread.cc |
+++ b/remoting/base/auto_thread.cc |
@@ -31,7 +31,7 @@ scoped_ptr<base::win::ScopedCOMInitializer> CreateComInitializer( |
} else if (type == AutoThread::COM_INIT_STA) { |
initializer.reset(new base::win::ScopedCOMInitializer()); |
} |
- return initializer.Pass(); |
+ return initializer; |
} |
#endif |