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 f88cbfd9f3feb2e7a7d3e789352f7b40f4a1296f..12acfba0f8079e65c81ff682a86edb71f50148a6 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp |
@@ -537,7 +537,7 @@ static CSSFontFace* createCSSFontFace(FontFace* fontFace, CSSValue* unicodeRange |
if (CSSValueList* rangeList = toCSSValueList(unicodeRange)) { |
unsigned numRanges = rangeList->length(); |
for (unsigned i = 0; i < numRanges; i++) { |
- CSSUnicodeRangeValue* range = toCSSUnicodeRangeValue(rangeList->item(i)); |
+ const CSSUnicodeRangeValue* range = toCSSUnicodeRangeValue(rangeList->item(i)); |
ranges.append(UnicodeRange(range->from(), range->to())); |
} |
} |
@@ -559,7 +559,7 @@ void FontFace::initCSSFontFace(Document* document, CSSValue* src) |
for (int i = 0; i < srcLength; i++) { |
// An item in the list either specifies a string (local font name) or a URL (remote font to download). |
- CSSFontFaceSrcValue* item = toCSSFontFaceSrcValue(srcList->item(i)); |
+ const CSSFontFaceSrcValue* item = toCSSFontFaceSrcValue(srcList->item(i)); |
CSSFontFaceSource* source = nullptr; |
if (!item->isLocal()) { |