| Index: Source/core/html/canvas/CanvasFontCache.cpp
|
| diff --git a/Source/core/html/canvas/CanvasFontCache.cpp b/Source/core/html/canvas/CanvasFontCache.cpp
|
| index a75ec56329a61c7a1d8b3418e75a0cd7061ff63a..0c9ea6f33e7b8d8b31311ff534256ce9cf23ed10 100644
|
| --- a/Source/core/html/canvas/CanvasFontCache.cpp
|
| +++ b/Source/core/html/canvas/CanvasFontCache.cpp
|
| @@ -91,8 +91,8 @@ MutableStylePropertySet* CanvasFontCache::parseFont(const String& fontString)
|
| m_fontLRUList.remove(fontString);
|
| m_fontLRUList.add(fontString);
|
| } else {
|
| - parsedStyle = MutableStylePropertySet::create(HTMLQuirksMode);
|
| - CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, fontString, true, HTMLStandardMode, 0);
|
| + parsedStyle = MutableStylePropertySet::create(HTMLStandardMode);
|
| + CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, fontString, true, 0);
|
| if (parsedStyle->isEmpty())
|
| return nullptr;
|
| // According to http://lists.w3.org/Archives/Public/public-html/2009Jul/0947.html,
|
|
|