Index: third_party/WebKit/Source/core/css/FontFace.cpp |
diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp |
index 771bba6e42a68c62a8f2ae00a02f75f6b0dea82a..98845b6f9edc1cda713bbd341d6e31999efc6f10 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp |
@@ -112,10 +112,10 @@ FontFace* FontFace::create(Document* document, const StyleRuleFontFace* fontFace |
const StylePropertySet& properties = fontFaceRule->properties(); |
// Obtain the font-family property and the src property. Both must be defined. |
- CSSValue* family = properties.getPropertyCSSValue(CSSPropertyFontFamily); |
+ const CSSValue* family = properties.getPropertyCSSValue(CSSPropertyFontFamily); |
if (!family || (!family->isFontFamilyValue() && !family->isPrimitiveValue())) |
return nullptr; |
- CSSValue* src = properties.getPropertyCSSValue(CSSPropertySrc); |
+ const CSSValue* src = properties.getPropertyCSSValue(CSSPropertySrc); |
if (!src || !src->isValueList()) |
return nullptr; |