| Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index 68f213b18aebeaf3443ca6ea9eb6bece66a4db5d..3848c2df2561dbb6ad1618ed62c79a40e2a669b3 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| @@ -38,7 +38,7 @@
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| #include "core/accessibility/AXObjectCache.h"
|
| #include "core/css/CSSFontSelector.h"
|
| -#include "core/css/CSSParser.h"
|
| +#include "core/css/parser/BisonCSSParser.h"
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -2018,7 +2018,7 @@ void CanvasRenderingContext2D::setFont(const String& newFont)
|
| 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())
|
|
|