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

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

Issue 2616093003: Make CSSParserContext be garbage collected. (Closed)
Patch Set: fix fuzzer compile Created 3 years, 11 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
Index: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
index bc3cdcf708fede6f07cc80cdb3e09f4a50bcd7ae..664b9dc9f0b3f6b448b6ada1edc8cec10440ae43 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
@@ -88,7 +88,7 @@ MutableStylePropertySet* CanvasFontCache::parseFont(const String& fontString) {
m_fontLRUList.add(fontString);
} else {
parsedStyle = MutableStylePropertySet::create(HTMLStandardMode);
- CSSParser::parseValue(parsedStyle, CSSPropertyFont, fontString, true, 0);
+ CSSParser::parseValue(parsedStyle, CSSPropertyFont, fontString, true);
if (parsedStyle->isEmpty())
return nullptr;
// According to

Powered by Google App Engine
This is Rietveld 408576698