Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
index 97d326e2eaabaf65ca350e8b3e516d0004f0015d..19aa71753aae9d042a2c27a3c5eb551c36db32e3 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -143,7 +143,7 @@ static FontDescription::GenericFamilyType convertGenericFamily(CSSValueID valueI |
} |
} |
-static bool convertFontFamilyName(StyleResolverState& state, CSSValue& value, |
+static bool convertFontFamilyName(StyleResolverState& state, const CSSValue& value, |
FontDescription::GenericFamilyType& genericFamily, AtomicString& familyName) |
{ |
if (value.isFontFamilyValue()) { |
@@ -487,7 +487,7 @@ GridPosition StyleBuilderConverter::convertGridPosition(StyleResolverState&, con |
String gridLineName; |
auto it = values.begin(); |
- CSSValue* currentValue = it->get(); |
+ const CSSValue* currentValue = it->get(); |
if (currentValue->isPrimitiveValue() && toCSSPrimitiveValue(currentValue)->getValueID() == CSSValueSpan) { |
isSpanPosition = true; |
++it; |