| Index: chrome/browser/ui/views/browser_dialogs_views_mac.cc
|
| diff --git a/chrome/browser/ui/views/browser_dialogs_views_mac.cc b/chrome/browser/ui/views/browser_dialogs_views_mac.cc
|
| index 2033deb6fe8e6de74c1fedfffc827b0749c21ec0..9a84f8ec1ca64b89981928b9eb6f4a4a07265582 100644
|
| --- a/chrome/browser/ui/views/browser_dialogs_views_mac.cc
|
| +++ b/chrome/browser/ui/views/browser_dialogs_views_mac.cc
|
| @@ -33,8 +33,10 @@ void ShowWebsiteSettingsBubbleViewsAtPoint(
|
| // earlier because the popup is shown on mouse release (but dismissed on
|
| // mouse pressed). A Cocoa browser does both on mouse pressed, so a check
|
| // when showing is sufficient.
|
| - if (WebsiteSettingsPopupView::IsPopupShowing())
|
| + if (WebsiteSettingsPopupView::GetShownPopupType() !=
|
| + WebsiteSettingsPopupView::POPUP_NONE) {
|
| return;
|
| + }
|
|
|
| WebsiteSettingsPopupView::ShowPopup(
|
| nullptr, gfx::Rect(anchor_point, gfx::Size()), profile, web_contents,
|
|
|