Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: Source/core/loader/CookieJar.cpp

Issue 246433004: Rename cookieURL to inheritedURL and add inheritedURL() to WebDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: weaken statement about inheritedURL Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/CookieJar.cpp
diff --git a/Source/core/loader/CookieJar.cpp b/Source/core/loader/CookieJar.cpp
index 6fffb509612f047844fd379c07a8460cf0255fa2..e1e435942617815ce181737c529b0d79e2e9809f 100644
--- a/Source/core/loader/CookieJar.cpp
+++ b/Source/core/loader/CookieJar.cpp
@@ -71,7 +71,7 @@ bool cookiesEnabled(const Document* document)
blink::WebCookieJar* cookieJar = toCookieJar(document);
if (!cookieJar)
return false;
- return cookieJar->cookiesEnabled(document->cookieURL(), document->firstPartyForCookies());
+ return cookieJar->cookiesEnabled(document->inheritedURL(), document->firstPartyForCookies());
}
String cookieRequestHeaderFieldValue(const Document* document, const KURL& url)
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698