Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp |
index afc34cc4151f38187187b9bb53faf2af4e161587..7e871d2c592916f398568c4a841cc127cdbcbcee 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPISize.cpp |
@@ -18,7 +18,7 @@ static CSSValue* consumePageSize(CSSParserTokenRange& range) { |
const CSSValue* CSSPropertyAPISize::parseSingleValue( |
CSSParserTokenRange& range, |
- const CSSParserContext& context) { |
+ const CSSParserContext* context) { |
CSSValueList* result = CSSValueList::createSpaceSeparated(); |
if (range.peek().id() == CSSValueAuto) { |
@@ -27,9 +27,9 @@ const CSSValue* CSSPropertyAPISize::parseSingleValue( |
} |
if (CSSValue* width = CSSPropertyParserHelpers::consumeLength( |
- range, context.mode(), ValueRangeNonNegative)) { |
+ range, context->mode(), ValueRangeNonNegative)) { |
CSSValue* height = CSSPropertyParserHelpers::consumeLength( |
- range, context.mode(), ValueRangeNonNegative); |
+ range, context->mode(), ValueRangeNonNegative); |
result->append(*width); |
if (height) |
result->append(*height); |