| Index: chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm b/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm
|
| index 54ff89123d38624b0cf371dea480cbe7c67dc412..8ebd679381da3cdb2232173c7229baf852c6bc34 100644
|
| --- a/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm
|
| @@ -82,7 +82,7 @@ void ShowSSLClientCertificateSelector(
|
| //
|
| // TODO(davidben): Move this hook to the WebContentsDelegate and only try to
|
| // show a dialog in Browser's implementation. https://crbug.com/456255
|
| - if (web_modal::PopupManager::FromWebContents(contents) == nullptr)
|
| + if (!ConstrainedWindowMac::HasTopLevelDialogManager(contents))
|
| return;
|
|
|
| // The dialog manages its own lifetime.
|
|
|