Index: chrome/browser/ui/hung_plugin_tab_helper.cc |
diff --git a/chrome/browser/ui/hung_plugin_tab_helper.cc b/chrome/browser/ui/hung_plugin_tab_helper.cc |
index 1b6d092ea1ee7b8bb76ddf2a451fbc74d4e79c89..bb9a21c55d3cfe34a15e1ea4a3d2bf7fd9201a6a 100644 |
--- a/chrome/browser/ui/hung_plugin_tab_helper.cc |
+++ b/chrome/browser/ui/hung_plugin_tab_helper.cc |
@@ -162,7 +162,7 @@ infobars::InfoBar* HungPluginInfoBarDelegate::Create( |
HungPluginTabHelper* helper, |
int plugin_child_id, |
const base::string16& plugin_name) { |
- return infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar( |
+ return infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar( |
scoped_ptr<ConfirmInfoBarDelegate>(new HungPluginInfoBarDelegate( |
helper, plugin_child_id, plugin_name)))); |
} |