| Index: Source/core/css/FontFace.cpp
|
| diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp
|
| index d075d48de46225741d7406f2a79b79514f203e94..97bed84cfc84c80e756bb6f5ac32e05ea531c20b 100644
|
| --- a/Source/core/css/FontFace.cpp
|
| +++ b/Source/core/css/FontFace.cpp
|
| @@ -46,7 +46,7 @@
|
| #include "core/css/RemoteFontFaceSource.h"
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/css/StyleRule.h"
|
| -#include "core/css/parser/CSSParser.h"
|
| +#include "core/css/parser/BisonCSSParser.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -61,14 +61,12 @@
|
|
|
| namespace blink {
|
|
|
| -// FIXME: This should probably live in CSSParser since the same logic is
|
| -// duplicated elsewhere in the codebase
|
| static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& s, CSSPropertyID propertyID)
|
| {
|
| if (s.isEmpty())
|
| return nullptr;
|
| RefPtrWillBeRawPtr<MutableStylePropertySet> parsedStyle = MutableStylePropertySet::create();
|
| - CSSParser::parseValue(parsedStyle.get(), propertyID, s, true, *document);
|
| + BisonCSSParser::parseValue(parsedStyle.get(), propertyID, s, true, *document);
|
| return parsedStyle->getPropertyCSSValue(propertyID);
|
| }
|
|
|
|
|