| 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 3e6639c9ddf814a4d642a297f7d01739f6e59ca4..d5b3579dccc6d94a95e4fdb8d28e818d344a64ce 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -385,13 +385,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;
|
| }
|
|
|