| 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 34fa8f91bf91bf55ad133671d29cbf4db844a31f..a32a186e7efcc1f952a2d7144d488c9d0190d73e 100644
|
| --- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| @@ -8,6 +8,7 @@
|
|
|
| #import "base/mac/mac_util.h"
|
| #include "base/sys_string_conversions.h"
|
| +#include "chrome/browser/content_settings/cookie_settings.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -187,7 +188,9 @@ void CollectedCookiesMac::OnSheetDidEnd(NSWindow* sheet) {
|
| // Change the label of the blocked cookies part if necessary.
|
| Profile* profile =
|
| Profile::FromBrowserContext(tabContents_->browser_context());
|
| - if (profile->GetHostContentSettingsMap()->BlockThirdPartyCookies()) {
|
| + CookieSettings* cookie_settings =
|
| + CookieSettings::GetForProfile(profile);
|
| + if (cookie_settings->ShouldBlockThirdPartyCookies()) {
|
| [blockedCookiesText_ setStringValue:l10n_util::GetNSString(
|
| IDS_COLLECTED_COOKIES_BLOCKED_THIRD_PARTY_BLOCKING_ENABLED)];
|
| CGFloat textDeltaY = [GTMUILocalizerAndLayoutTweaker
|
|
|