Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp |
index 77f0bdc752732a9791026031e89ee13593a0acea..25699b44eeb29b1583f5d31d272e79f8e92c9e6c 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIClip.cpp |
@@ -25,7 +25,7 @@ CSSValue* consumeClipComponent(CSSParserTokenRange& range, |
const CSSValue* CSSPropertyAPIClip::parseSingleValue( |
CSSParserTokenRange& range, |
- const CSSParserContext& context) { |
+ const CSSParserContext* context) { |
if (range.peek().id() == CSSValueAuto) |
return CSSPropertyParserHelpers::consumeIdent(range); |
@@ -34,22 +34,22 @@ const CSSValue* CSSPropertyAPIClip::parseSingleValue( |
CSSParserTokenRange args = CSSPropertyParserHelpers::consumeFunction(range); |
// rect(t, r, b, l) || rect(t r b l) |
- CSSValue* top = consumeClipComponent(args, context.mode()); |
+ CSSValue* top = consumeClipComponent(args, context->mode()); |
if (!top) |
return nullptr; |
bool needsComma = |
CSSPropertyParserHelpers::consumeCommaIncludingWhitespace(args); |
- CSSValue* right = consumeClipComponent(args, context.mode()); |
+ CSSValue* right = consumeClipComponent(args, context->mode()); |
if (!right || |
(needsComma && |
!CSSPropertyParserHelpers::consumeCommaIncludingWhitespace(args))) |
return nullptr; |
- CSSValue* bottom = consumeClipComponent(args, context.mode()); |
+ CSSValue* bottom = consumeClipComponent(args, context->mode()); |
if (!bottom || |
(needsComma && |
!CSSPropertyParserHelpers::consumeCommaIncludingWhitespace(args))) |
return nullptr; |
- CSSValue* left = consumeClipComponent(args, context.mode()); |
+ CSSValue* left = consumeClipComponent(args, context->mode()); |
if (!left || !args.atEnd()) |
return nullptr; |
return CSSQuadValue::create(top, right, bottom, left, |