Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index 1e3433a5ca01d000f1854756f0ec8aa07225a17a..72615b9a244fcc16b3ccf31f2a1f73f963b85a18 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -497,7 +497,8 @@ ContentSettingPluginBubbleModel::~ContentSettingPluginBubbleModel() { |
void ContentSettingPluginBubbleModel::OnCustomLinkClicked() { |
content::RecordAction(UserMetricsAction("ClickToPlay_LoadAll_Bubble")); |
- DCHECK(web_contents()); |
+ if (!web_contents()) |
markusheintz_
2014/12/12 09:43:09
Please add a comment above this line that explains
|
+ return; |
#if defined(ENABLE_PLUGINS) |
// TODO(bauerb): We should send the identifiers of blocked plug-ins here. |
ChromePluginServiceFilter::GetInstance()->AuthorizeAllPlugins( |