| 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 a6da4a2eea626e3f9db883cefe145ba285d3401f..0f8d69a8d1685a61651041c6988565b5e05c76bd 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| @@ -96,7 +96,7 @@ MutableStylePropertySet* CanvasFontCache::parseFont(const String& fontString)
|
| return nullptr;
|
| // According to http://lists.w3.org/Archives/Public/public-html/2009Jul/0947.html,
|
| // the "inherit" and "initial" values must be ignored.
|
| - CSSValue* fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize);
|
| + const CSSValue* fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize);
|
| if (fontValue && (fontValue->isInitialValue() || fontValue->isInheritedValue()))
|
| return nullptr;
|
| m_fetchedFonts.add(fontString, parsedStyle);
|
|
|