Index: chrome/browser/extensions/extension_infobar_delegate.cc |
diff --git a/chrome/browser/extensions/extension_infobar_delegate.cc b/chrome/browser/extensions/extension_infobar_delegate.cc |
index 601da471cd15b2afb6a208246c8f5ba950dbf307..5142d5b60a98b6f94bec1dfc4200cb63d54e3c41 100644 |
--- a/chrome/browser/extensions/extension_infobar_delegate.cc |
+++ b/chrome/browser/extensions/extension_infobar_delegate.cc |
@@ -40,6 +40,7 @@ ExtensionInfoBarDelegate::ExtensionInfoBarDelegate( |
#if defined(TOOLKIT_VIEWS) |
browser_(browser), |
#endif |
+ web_contents_(web_contents), |
extension_(extension), |
closing_(false) { |
extension_view_host_.reset( |
@@ -89,6 +90,8 @@ ExtensionInfoBarDelegate* |
return this; |
} |
+void ExtensionInfoBarDelegate::CleanUp() { web_contents_ = NULL; } |
+ |
void ExtensionInfoBarDelegate::Observe( |
int type, |
const content::NotificationSource& source, |