Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp |
index 49a7b4d317902d079967b1e3b4ed7b8a0884aee9..bb443698a2913a0d4fb047e025b31a4be7af10a4 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp |
@@ -13,19 +13,19 @@ namespace blink { |
const CSSValue* CSSPropertyAPITranslate::parseSingleValue( |
CSSParserTokenRange& range, |
- const CSSParserContext& context) { |
+ const CSSParserContext* context) { |
DCHECK(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled()); |
CSSValue* translate = CSSPropertyParserHelpers::consumeLengthOrPercent( |
- range, context.mode(), ValueRangeAll); |
+ range, context->mode(), ValueRangeAll); |
if (!translate) |
return nullptr; |
CSSValueList* list = CSSValueList::createSpaceSeparated(); |
list->append(*translate); |
translate = CSSPropertyParserHelpers::consumeLengthOrPercent( |
- range, context.mode(), ValueRangeAll); |
+ range, context->mode(), ValueRangeAll); |
if (translate) { |
list->append(*translate); |
- translate = CSSPropertyParserHelpers::consumeLength(range, context.mode(), |
+ translate = CSSPropertyParserHelpers::consumeLength(range, context->mode(), |
ValueRangeAll); |
if (translate) |
list->append(*translate); |