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

Unified Diff: third_party/WebKit/Source/core/css/FontFace.cpp

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/FontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp
index b9b5f639df01d5b00c71285533e33b6ba070bfc8..2004519f27219bdc250acbe847a70b6928ee6b7f 100644
--- a/third_party/WebKit/Source/core/css/FontFace.cpp
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp
@@ -69,7 +69,7 @@ namespace blink {
static const CSSValue* parseCSSValue(const Document* document,
const String& value,
CSSPropertyID propertyID) {
- CSSParserContext* context = CSSParserContext::create(*document, document);
+ CSSParserContext* context = CSSParserContext::create(*document);
return CSSParser::parseFontFaceDescriptor(propertyID, value, context);
}

Powered by Google App Engine
This is Rietveld 408576698