Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 8c6aeaf4001dc7d3b77f70744f882cfffbcf6fa7..f334c2e0cd7baa50d49ca8582f56c7e9f027b048 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -335,13 +335,13 @@ SkBitmap* ChromeContentBrowserClient::GetDefaultFavicon() { |
bool ChromeContentBrowserClient::AllowAppCache( |
const GURL& manifest_url, |
+ const GURL& first_party, |
const content::ResourceContext& context) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
ProfileIOData* io_data = |
reinterpret_cast<ProfileIOData*>(context.GetUserData(NULL)); |
- // FIXME(jochen): get the correct top-level origin. |
ContentSetting setting = io_data->GetHostContentSettingsMap()-> |
- GetCookieContentSetting(manifest_url, manifest_url, true); |
+ GetCookieContentSetting(manifest_url, first_party, true); |
DCHECK(setting != CONTENT_SETTING_DEFAULT); |
return setting != CONTENT_SETTING_BLOCK; |
} |