| Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index 3848c2df2561dbb6ad1618ed62c79a40e2a669b3..37f52e46b09aa5169a3f36f86a9cb629fb321891 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/parser/BisonCSSParser.h"
|
| +#include "core/css/parser/CSSParser.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;
|
| - BisonCSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, newFont, true, mode, 0);
|
| + CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, newFont, true, mode, 0);
|
| m_fetchedFonts.add(newFont, parsedStyle);
|
| }
|
| if (parsedStyle->isEmpty())
|
|
|