| Index: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
|
| index 2758102923e810cff0b5a01eb638268f0a94a6f5..06eb8c9089f1ae9ef3be9149c21a4116ae1e3b04 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
|
| @@ -4,9 +4,10 @@
|
|
|
| #import "chrome/browser/ui/cocoa/browser_window_controller.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/mac/mac_util.h"
|
| #import "base/mac/scoped_nsobject.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| @@ -228,9 +229,9 @@ TEST_F(BrowserWindowControllerTest, BookmarkBarToggleRespectMinWindowHeight) {
|
| // TODO(jrg): This crashes trying to create the BookmarkBarController, adding
|
| // an observer to the BookmarkModel.
|
| TEST_F(BrowserWindowControllerTest, TestIncognitoWidthSpace) {
|
| - scoped_ptr<TestingProfile> incognito_profile(new TestingProfile());
|
| + std::unique_ptr<TestingProfile> incognito_profile(new TestingProfile());
|
| incognito_profile->set_off_the_record(true);
|
| - scoped_ptr<Browser> browser(
|
| + std::unique_ptr<Browser> browser(
|
| new Browser(Browser::CreateParams(incognito_profile.get())));
|
| controller_.reset([[BrowserWindowController alloc]
|
| initWithBrowser:browser.get()
|
|
|