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 f79aa53308ff21c2ac81fed4071b93fedf526ce0..927e440a4e1ca16cb9fb1ded076ec95b29934478 100644 |
--- a/chrome/browser/ui/cocoa/run_loop_testing.mm |
+++ b/chrome/browser/ui/cocoa/run_loop_testing.mm |
@@ -7,6 +7,7 @@ |
#import <Foundation/Foundation.h> |
#include "base/mac/scoped_nsobject.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_pump_mac.h" |
// This class is scheduled with a delayed selector to quit the message pump. |
@@ -37,7 +38,7 @@ namespace chrome { |
namespace testing { |
void NSRunLoopRunAllPending() { |
- scoped_refptr<base::MessagePumpNSRunLoop> message_pump( |
+ scoped_ptr<base::MessagePumpNSRunLoop> message_pump( |
new base::MessagePumpNSRunLoop); |
// Put a delayed selector on the queue. All other pending delayed selectors |