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

Unified Diff: third_party/WebKit/Source/core/css/FontFaceSet.cpp

Issue 2616093003: Make CSSParserContext be garbage collected. (Closed)
Patch Set: comments 1 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/css/FontFaceSet.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
index 5893a9f4ec674be88ca28d21dd46c470d34a3479..f6373bc046e09e7a4c1a60ee1c1fa8570d59cb46 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
@@ -446,7 +446,7 @@ bool FontFaceSet::resolveFontStyle(const String& fontString, Font& font) {
// CanvasRenderingContext2D.
MutableStylePropertySet* parsedStyle =
MutableStylePropertySet::create(HTMLStandardMode);
- CSSParser::parseValue(parsedStyle, CSSPropertyFont, fontString, true, 0);
+ CSSParser::parseValue(parsedStyle, CSSPropertyFont, fontString, true);
if (parsedStyle->isEmpty())
return false;

Powered by Google App Engine
This is Rietveld 408576698