| Index: chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
|
| diff --git a/chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc b/chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
|
| index 1bb6a04727eb1c98a26dc8b4867b5b773876e512..017213c5acae811fc1fd98a52296884c965dc105 100644
|
| --- a/chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
|
| +++ b/chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc
|
| @@ -58,8 +58,8 @@ TEST_F(SessionCrashedInfoBarDelegateUnitTest, DetachingTabWithCrashedInfoBar) {
|
| // Create a browser which we can close during the test.
|
| Browser::CreateParams params(browser()->profile(),
|
| browser()->host_desktop_type());
|
| - scoped_ptr<Browser> first_browser(
|
| - chrome::CreateBrowserWithTestWindowForParams(¶ms));
|
| + scoped_ptr<Browser> first_browser =
|
| + chrome::CreateBrowserWithTestWindowForParams(¶ms);
|
| AddTab(first_browser.get(), GURL(chrome::kChromeUINewTabURL));
|
|
|
| // Attach the crashed infobar to it.
|
| @@ -76,8 +76,8 @@ TEST_F(SessionCrashedInfoBarDelegateUnitTest, DetachingTabWithCrashedInfoBar) {
|
| ASSERT_TRUE(infobar);
|
|
|
| // Open another browser.
|
| - scoped_ptr<Browser> opened_browser(
|
| - chrome::CreateBrowserWithTestWindowForParams(¶ms));
|
| + scoped_ptr<Browser> opened_browser =
|
| + chrome::CreateBrowserWithTestWindowForParams(¶ms);
|
|
|
| // Move the tab which is destroying the crash info bar to the new browser.
|
| tab_strip->DetachWebContentsAt(0);
|
|
|