Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1013)

Unified Diff: Source/core/html/canvas/CanvasFontCache.cpp

Issue 1312843008: Remove CSSParserMode argument on CSSParser::parseValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/parser/CSSParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « Source/core/css/parser/CSSParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698