| 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 91c93acb292fd99c3929996f67a6aae4021587f3..a96df4f8e5878adbc481480fa9c8c2c3ff84dae8 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITranslate.cpp
|
| @@ -13,23 +13,23 @@
|
|
|
| const CSSValue* CSSPropertyAPITranslate::parseSingleValue(
|
| CSSParserTokenRange& range,
|
| - const CSSParserContext* context) {
|
| + const CSSParserContext& context) {
|
| DCHECK(RuntimeEnabledFeatures::cssIndependentTransformPropertiesEnabled());
|
| CSSValueID id = range.peek().id();
|
| if (id == CSSValueNone)
|
| return CSSPropertyParserHelpers::consumeIdent(range);
|
|
|
| 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);
|
|
|