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 927e440a4e1ca16cb9fb1ded076ec95b29934478..7dd5afbb408098ad49059d5a9ea787d67bef8866 100644 |
--- a/chrome/browser/ui/cocoa/run_loop_testing.mm |
+++ b/chrome/browser/ui/cocoa/run_loop_testing.mm |
@@ -6,8 +6,9 @@ |
#import <Foundation/Foundation.h> |
+#include <memory> |
+ |
#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 +39,7 @@ namespace chrome { |
namespace testing { |
void NSRunLoopRunAllPending() { |
- scoped_ptr<base::MessagePumpNSRunLoop> message_pump( |
+ std::unique_ptr<base::MessagePumpNSRunLoop> message_pump( |
new base::MessagePumpNSRunLoop); |
// Put a delayed selector on the queue. All other pending delayed selectors |