Index: chrome/browser/ui/startup/autolaunch_prompt_win.cc |
diff --git a/chrome/browser/ui/startup/autolaunch_prompt_win.cc b/chrome/browser/ui/startup/autolaunch_prompt_win.cc |
index dc73b29ed2e82b3d1f5e77a32ee551f4e0ebfc27..01e0401aca04680cb72f4d296cd28f1f849aa5c5 100644 |
--- a/chrome/browser/ui/startup/autolaunch_prompt_win.cc |
+++ b/chrome/browser/ui/startup/autolaunch_prompt_win.cc |
@@ -70,8 +70,8 @@ class AutolaunchInfoBarDelegate : public ConfirmInfoBarDelegate { |
// static |
void AutolaunchInfoBarDelegate::Create(InfoBarService* infobar_service, |
Profile* profile) { |
- infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar( |
- scoped_ptr<ConfirmInfoBarDelegate>( |
+ infobar_service->AddInfoBar( |
+ infobar_service->CreateConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate>( |
new AutolaunchInfoBarDelegate(profile)))); |
} |