| Index: chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm
|
| index 6d701689cefad2a317e0ab09056f0a41f5d69465..83fef3d66bb68137f011b73acd8bfa8e066655e8 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm
|
| @@ -201,8 +201,8 @@ TEST_F(ProfileMenuControllerTest, SetActiveAndRemove) {
|
|
|
| // Create a browser and "show" it.
|
| Browser::CreateParams profile2_params(profile2, chrome::GetActiveDesktop());
|
| - scoped_ptr<Browser> p2_browser(
|
| - chrome::CreateBrowserWithTestWindowForParams(&profile2_params));
|
| + scoped_ptr<Browser> p2_browser =
|
| + chrome::CreateBrowserWithTestWindowForParams(&profile2_params);
|
| BrowserList::SetLastActive(p2_browser.get());
|
| VerifyProfileNamedIsActive(@"Profile 2", __LINE__);
|
|
|
| @@ -212,8 +212,8 @@ TEST_F(ProfileMenuControllerTest, SetActiveAndRemove) {
|
|
|
| // Open a new browser and make sure it takes effect.
|
| Browser::CreateParams profile3_params(profile3, chrome::GetActiveDesktop());
|
| - scoped_ptr<Browser> p3_browser(
|
| - chrome::CreateBrowserWithTestWindowForParams(&profile3_params));
|
| + scoped_ptr<Browser> p3_browser =
|
| + chrome::CreateBrowserWithTestWindowForParams(&profile3_params);
|
| BrowserList::SetLastActive(p3_browser.get());
|
| VerifyProfileNamedIsActive(@"Profile 3", __LINE__);
|
|
|
| @@ -282,8 +282,8 @@ TEST_F(ProfileMenuControllerTest, SupervisedProfile) {
|
| // Open a new browser for the supervised user and switch to it.
|
| Browser::CreateParams supervised_profile_params(
|
| supervised_profile, chrome::HOST_DESKTOP_TYPE_NATIVE);
|
| - scoped_ptr<Browser> supervised_browser(
|
| - chrome::CreateBrowserWithTestWindowForParams(&supervised_profile_params));
|
| + scoped_ptr<Browser> supervised_browser =
|
| + chrome::CreateBrowserWithTestWindowForParams(&supervised_profile_params);
|
| BrowserList::SetLastActive(supervised_browser.get());
|
|
|
| item = [menu itemAtIndex:0];
|
|
|