Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
index f22d087d3a5e2aa4b325bde047ed67d1d604a5d7..f25aebc84142ae33997e98f3cb8c3b3f22931ce5 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -3843,10 +3843,9 @@ static CSSValue* consumeFontFaceSrcURI(CSSParserTokenRange& range, const CSSPars |
// FIXME: https://drafts.csswg.org/css-fonts says that format() contains a comma-separated list of strings, |
// but CSSFontFaceSrcValue stores only one format. Allowing one format for now. |
- // FIXME: IdentToken should not be supported here. |
CSSParserTokenRange args = consumeFunction(range); |
const CSSParserToken& arg = args.consumeIncludingWhitespace(); |
- if ((arg.type() != StringToken && arg.type() != IdentToken) || !args.atEnd()) |
+ if ((arg.type() != StringToken) || !args.atEnd()) |
return nullptr; |
uriValue->setFormat(arg.value()); |
return uriValue; |