| Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
|
| diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
|
| index 6dddbcb1850e0fffd639da86d15f6274f225e818..1b26ed8c345b0031b3ba8edf0941c7ce081d8fef 100644
|
| --- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
|
| +++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
|
| @@ -846,7 +846,8 @@ void WebsiteSettingsPopupView::HandleLinkClickedAsync(views::Link* source) {
|
| presenter_->RecordWebsiteSettingsAction(
|
| WebsiteSettings::WEBSITE_SETTINGS_COOKIES_DIALOG_OPENED);
|
|
|
| - new CollectedCookiesViews(web_contents_);
|
| + if (web_contents_ != NULL)
|
| + new CollectedCookiesViews(web_contents_);
|
| } else if (source == certificate_dialog_link_) {
|
| gfx::NativeWindow parent = GetAnchorView() ?
|
| GetAnchorView()->GetWidget()->GetNativeWindow() : nullptr;
|
|
|