| Index: Source/core/html/canvas/CanvasFontCache.cpp
|
| diff --git a/Source/core/html/canvas/CanvasFontCache.cpp b/Source/core/html/canvas/CanvasFontCache.cpp
|
| index 2673c3339f9ce649fe31b68a8fd363453c53ab9b..a75ec56329a61c7a1d8b3418e75a0cd7061ff63a 100644
|
| --- a/Source/core/html/canvas/CanvasFontCache.cpp
|
| +++ b/Source/core/html/canvas/CanvasFontCache.cpp
|
| @@ -91,7 +91,7 @@ MutableStylePropertySet* CanvasFontCache::parseFont(const String& fontString)
|
| m_fontLRUList.remove(fontString);
|
| m_fontLRUList.add(fontString);
|
| } else {
|
| - parsedStyle = MutableStylePropertySet::create();
|
| + parsedStyle = MutableStylePropertySet::create(HTMLQuirksMode);
|
| CSSParser::parseValue(parsedStyle.get(), CSSPropertyFont, fontString, true, HTMLStandardMode, 0);
|
| if (parsedStyle->isEmpty())
|
| return nullptr;
|
|
|