Index: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
diff --git a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
index eeeada71e0fc257490e0b9426661b1ba150e4bfc..821fb51794a2bf2d10970590939aac156c3ad2bd 100644 |
--- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
+++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
@@ -96,11 +96,11 @@ void CollectedCookiesMac::Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); |
- window_->CloseConstrainedWindow(); |
+ window_->CloseWebContentsModalDialog(); |
} |
void CollectedCookiesMac::PerformClose() { |
- window_->CloseConstrainedWindow(); |
+ window_->CloseWebContentsModalDialog(); |
} |
void CollectedCookiesMac::OnConstrainedWindowClosed( |