Index: chrome/browser/ui/cocoa/run_loop_testing.mm |
diff --git a/chrome/browser/ui/cocoa/run_loop_testing.mm b/chrome/browser/ui/cocoa/run_loop_testing.mm |
index 9918c90a4ccd4081b69a6558bb1f9989259463c0..f79aa53308ff21c2ac81fed4071b93fedf526ce0 100644 |
--- a/chrome/browser/ui/cocoa/run_loop_testing.mm |
+++ b/chrome/browser/ui/cocoa/run_loop_testing.mm |
@@ -43,7 +43,7 @@ void NSRunLoopRunAllPending() { |
// Put a delayed selector on the queue. All other pending delayed selectors |
// will run before this, after which the internal loop can end. |
base::scoped_nsobject<CocoaQuitTask> quit_task( |
- [[CocoaQuitTask alloc] initWithMessagePump:message_pump]); |
+ [[CocoaQuitTask alloc] initWithMessagePump:message_pump.get()]); |
[quit_task performSelector:@selector(doQuit) |
withObject:nil |