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 93e537ce56213904cb617461500b61f6a892fc64..424c512af625c210df287b6b816997e108dfc49b 100644 |
--- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
+++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm |
@@ -243,7 +243,7 @@ void CollectedCookiesMac::OnConstrainedWindowClosed( |
CookieTreeHostNode* host_node = |
static_cast<CookieTreeHostNode*>(cookie); |
host_node->CreateContentException( |
- CookieSettings::Factory::GetForProfile(profile), setting); |
+ CookieSettings::Factory::GetForProfile(profile).get(), setting); |
if (!lastDomain.empty()) |
multipleDomainsChanged = YES; |
lastDomain = host_node->GetTitle(); |