| Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index 8825d1842718098d9dd353f2a3a8cc1a7ae9b5e0..e8bba71a7f9b8e321d84acb3a0e3db68c5f25874 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| @@ -38,8 +38,8 @@
|
| #include "bindings/core/v8/ExceptionStatePlaceholder.h"
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/css/CSSFontSelector.h"
|
| +#include "core/css/parser/BisonCSSParser.h"
|
| #include "core/css/StylePropertySet.h"
|
| -#include "core/css/parser/CSSParser.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/StyleEngine.h"
|
| @@ -1929,7 +1929,7 @@
|
| if (!parsedStyle) {
|
| parsedStyle = MutableStylePropertySet::create();
|
| CSSParserMode mode = m_usesCSSCompatibilityParseMode ? HTMLQuirksMode : HTMLStandardMode;
|
| - CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, newFont, true, mode, 0);
|
| + BisonCSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, newFont, true, mode, 0);
|
| m_fetchedFonts.add(newFont, parsedStyle);
|
| }
|
| if (parsedStyle->isEmpty())
|
|
|