Index: trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm |
=================================================================== |
--- trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm (revision 212951) |
+++ trunk/src/chrome/browser/ui/cocoa/run_loop_testing.mm (working copy) |
@@ -7,7 +7,6 @@ |
#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. |
@@ -38,7 +37,7 @@ |
namespace testing { |
void NSRunLoopRunAllPending() { |
- scoped_ptr<base::MessagePumpNSRunLoop> message_pump( |
+ scoped_refptr<base::MessagePumpNSRunLoop> message_pump( |
new base::MessagePumpNSRunLoop); |
// Put a delayed selector on the queue. All other pending delayed selectors |