summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_infobar_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_installer_infobar_delegate.cc')
-rw-r--r--chrome/browser/plugin_installer_infobar_delegate.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/plugin_installer_infobar_delegate.cc b/chrome/browser/plugin_installer_infobar_delegate.cc
index 6917b2e..9e040c8 100644
--- a/chrome/browser/plugin_installer_infobar_delegate.cc
+++ b/chrome/browser/plugin_installer_infobar_delegate.cc
@@ -88,5 +88,6 @@ bool PluginInstallerInfoBarDelegate::LinkClicked(
}
void PluginInstallerInfoBarDelegate::DidStartDownload() {
- owner()->RemoveInfoBar(this);
+ if (owner())
+ owner()->RemoveInfoBar(this);
}