Chromium Code Reviews| 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 0be1e5fce9b81441a5415cbc8c0afca1ffc54465..ef0c67c02fee4a61a702eb2a39af2c34249192f4 100644 |
| --- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp |
| +++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp |
| @@ -445,7 +445,8 @@ 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, |
| + static_cast<StyleSheetContents*>(nullptr)); |
|
rune
2016/12/19 20:34:17
Do you need the static_cast?
Bret
2016/12/20 01:26:58
No, reverted. Sorry, this was left over from me sp
|
| if (parsedStyle->isEmpty()) |
| return false; |