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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserContext.h

Issue 2776163002: Change CSSParserContext to either take explicit or implicit referrer (Closed)
Patch Set: updates Created 3 years, 9 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
Index: third_party/WebKit/Source/core/css/parser/CSSParserContext.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserContext.h b/third_party/WebKit/Source/core/css/parser/CSSParserContext.h
index 28eb51f061bc288705addaf6b4c6ea89c4e6b2df..793443f1e6c56dfa47e8b74d25577f8a191bf2c9 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserContext.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserContext.h
@@ -39,20 +39,19 @@ class CORE_EXPORT CSSParserContext
static CSSParserContext* create(const CSSParserContext* other,
const KURL& baseURLOverride,
+ ReferrerPolicy referrerPolicyOverride,
const String& charsetOverride,
- const Referrer& referrerOverride,
const Document* useCounterDocument);
static CSSParserContext* create(CSSParserMode,
SelectorProfile = DynamicProfile,
const Document* useCounterDocument = nullptr);
+ static CSSParserContext* create(const Document&);
static CSSParserContext* create(const Document&,
- const Document* useCounterDocument);
- static CSSParserContext* create(const Document&,
- const KURL& baseURLOverride = KURL(),
+ const KURL& baseURLOverride,
+ ReferrerPolicy referrerPolicyOverride,
const String& charset = emptyString,
- SelectorProfile = DynamicProfile,
- const Document* useCounterDocument = nullptr);
+ SelectorProfile = DynamicProfile);
bool operator==(const CSSParserContext&) const;
bool operator!=(const CSSParserContext& other) const {

Powered by Google App Engine
This is Rietveld 408576698