Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp |
index e586cbb39481a96e0512d4ed1ad6e4aa58bf9a29..2935c41535dec9fcdd0859eb0dbc415eebab1aa2 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextIndent.cpp |
@@ -13,7 +13,7 @@ |
const CSSValue* CSSPropertyAPITextIndent::parseSingleValue( |
CSSParserTokenRange& range, |
- const CSSParserContext& context) { |
+ const CSSParserContext* context) { |
// [ <length> | <percentage> ] && hanging? && each-line? |
// Keywords only allowed when css3Text is enabled. |
CSSValueList* list = CSSValueList::createSpaceSeparated(); |
@@ -26,7 +26,7 @@ |
if (!hasLengthOrPercentage) { |
if (CSSValue* textIndent = |
CSSPropertyParserHelpers::consumeLengthOrPercent( |
- range, context.mode(), ValueRangeAll, |
+ range, context->mode(), ValueRangeAll, |
CSSPropertyParserHelpers::UnitlessQuirk::Allow)) { |
list->append(*textIndent); |
hasLengthOrPercentage = true; |