diff options
Diffstat (limited to 'chrome/browser/extensions/extension_infobar_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_infobar_module.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_infobar_module.cc b/chrome/browser/extensions/extension_infobar_module.cc index 6c39189..3b263b0 100644 --- a/chrome/browser/extensions/extension_infobar_module.cc +++ b/chrome/browser/extensions/extension_infobar_module.cc @@ -12,6 +12,7 @@ #include "chrome/browser/extensions/extension_infobar_module_constants.h" #include "chrome/browser/extensions/extension_tabs_module.h" #include "chrome/browser/extensions/extension_tabs_module_constants.h" +#include "chrome/browser/infobars/infobar_tab_helper.h" #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" @@ -56,7 +57,7 @@ bool ShowInfoBarFunction::RunImpl() { return false; } - tab_contents->AddInfoBar( + tab_contents->infobar_tab_helper()->AddInfoBar( new ExtensionInfoBarDelegate(browser, tab_contents->tab_contents(), GetExtension(), url, height)); |