Index: chrome/browser/extensions/theme_installed_infobar_delegate.cc |
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.cc b/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
index 764789beb74e1d7118360aa3d4b0a1fba573978f..d31927453639d69aa5c8fd18a3363e2eaa889cc3 100644 |
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.cc |
@@ -51,9 +51,10 @@ void ThemeInstalledInfoBarDelegate::Create( |
InfoBarService* infobar_service = |
InfoBarService::FromWebContents(web_contents); |
ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); |
- scoped_ptr<infobars::InfoBar> new_infobar( |
+ std::unique_ptr<infobars::InfoBar> new_infobar( |
infobar_service->CreateConfirmInfoBar( |
- scoped_ptr<ConfirmInfoBarDelegate>(new ThemeInstalledInfoBarDelegate( |
+ std::unique_ptr< |
+ ConfirmInfoBarDelegate>(new ThemeInstalledInfoBarDelegate( |
extensions::ExtensionSystem::Get(profile)->extension_service(), |
theme_service, new_theme, previous_theme_id, |
previous_using_system_theme)))); |