Index: mojo/message_pump/handle_watcher_unittest.cc |
diff --git a/mojo/message_pump/handle_watcher_unittest.cc b/mojo/message_pump/handle_watcher_unittest.cc |
index f904df0586f18071756e1bf0aeebeda294c33d89..e88cb83725764aa8b3ef7d10489bcd0a7f351cd3 100644 |
--- a/mojo/message_pump/handle_watcher_unittest.cc |
+++ b/mojo/message_pump/handle_watcher_unittest.cc |
@@ -54,7 +54,7 @@ scoped_ptr<base::MessageLoop> CreateMessageLoop(MessageLoopConfig config) { |
loop.reset(new base::MessageLoop()); |
else |
loop.reset(new base::MessageLoop(MessagePumpMojo::Create())); |
- return loop.Pass(); |
+ return loop; |
} |
// Helper class to manage the callback and running the message loop waiting for |