Index: chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
index 93de71aa110f4b0698c5017c9479bbc9b3b31ca0..a76c639bc15e87f3a559b4c51b5b06ea1cdb0ed4 100644 |
--- a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
@@ -93,7 +93,7 @@ class ConfirmInfoBarControllerTest : public CocoaProfileTest, |
WebContents::Create(WebContents::CreateParams(profile()))); |
InfoBarService::CreateForWebContents(web_contents_.get()); |
- scoped_ptr<infobars::InfoBarDelegate> delegate( |
+ std::unique_ptr<infobars::InfoBarDelegate> delegate( |
new MockConfirmInfoBarDelegate(this)); |
infobar_ = new InfoBarCocoa(std::move(delegate)); |
infobar_->SetOwner(InfoBarService::FromWebContents(web_contents_.get())); |
@@ -140,7 +140,7 @@ class ConfirmInfoBarControllerTest : public CocoaProfileTest, |
controller_.reset(); |
} |
- scoped_ptr<WebContents> web_contents_; |
+ std::unique_ptr<WebContents> web_contents_; |
InfoBarCocoa* infobar_; // Weak, will delete itself. |
bool delegate_closed_; |
}; |