Index: Source/core/html/canvas/CanvasFontCache.cpp |
diff --git a/Source/core/html/canvas/CanvasFontCache.cpp b/Source/core/html/canvas/CanvasFontCache.cpp |
index 9a4723a7101ee9287a7e83b1e828b36bd6e8a8ba..99d66a3d143059acd5c9d59b7ffdef13e2994bd7 100644 |
--- a/Source/core/html/canvas/CanvasFontCache.cpp |
+++ b/Source/core/html/canvas/CanvasFontCache.cpp |
@@ -97,7 +97,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. |
- RefPtrWillBeRawPtr<CSSValue> fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize); |
+ NullableCSSValue fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize); |
if (fontValue && (fontValue->isInitialValue() || fontValue->isInheritedValue())) |
return nullptr; |
m_fetchedFonts.add(fontString, parsedStyle); |