Index: components/infobars/core/infobar_manager.cc |
diff --git a/components/infobars/core/infobar_manager.cc b/components/infobars/core/infobar_manager.cc |
index eb6fc476bc4ad31ec8a8a8922dcca4be197f157c..e1ca4f06c9d4ac0086d22bc9e42b41e312ca74b3 100644 |
--- a/components/infobars/core/infobar_manager.cc |
+++ b/components/infobars/core/infobar_manager.cc |
@@ -35,7 +35,7 @@ void InfoBarManager::Observer::OnManagerShuttingDown(InfoBarManager* manager) { |
// InfoBarManager -------------------------------------------------------------- |
-InfoBar* InfoBarManager::AddInfoBar(scoped_ptr<InfoBar> infobar) { |
+InfoBar* InfoBarManager::AddInfoBar(std::unique_ptr<InfoBar> infobar) { |
DCHECK(infobar); |
if (!infobars_enabled_) |
return NULL; |
@@ -67,7 +67,7 @@ void InfoBarManager::RemoveAllInfoBars(bool animate) { |
} |
InfoBar* InfoBarManager::ReplaceInfoBar(InfoBar* old_infobar, |
- scoped_ptr<InfoBar> new_infobar) { |
+ std::unique_ptr<InfoBar> new_infobar) { |
DCHECK(old_infobar); |
if (!infobars_enabled_) |
return AddInfoBar(std::move(new_infobar)); // Deletes the infobar. |