| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
|
| index d886266675116cbf3a90e6d768eb49991dae2c1d..66377f75fafa393e838f1b9ff07c061718ad7491 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
|
| @@ -47,18 +47,18 @@ class CSSPropertyParser {
|
| static bool parseValue(CSSPropertyID,
|
| bool important,
|
| const CSSParserTokenRange&,
|
| - const CSSParserContext&,
|
| + const CSSParserContext*,
|
| HeapVector<CSSProperty, 256>&,
|
| StyleRule::RuleType);
|
|
|
| // Parses a non-shorthand CSS property
|
| static const CSSValue* parseSingleValue(CSSPropertyID,
|
| const CSSParserTokenRange&,
|
| - const CSSParserContext&);
|
| + const CSSParserContext*);
|
|
|
| private:
|
| CSSPropertyParser(const CSSParserTokenRange&,
|
| - const CSSParserContext&,
|
| + const CSSParserContext*,
|
| HeapVector<CSSProperty, 256>*);
|
|
|
| // TODO(timloh): Rename once the CSSParserValue-based parseValue is removed
|
| @@ -67,7 +67,7 @@ class CSSPropertyParser {
|
| const CSSValue* parseSingleValue(CSSPropertyID,
|
| CSSPropertyID = CSSPropertyInvalid);
|
|
|
| - bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); }
|
| + bool inQuirksMode() const { return isQuirksModeBehavior(m_context->mode()); }
|
|
|
| bool parseViewportDescriptor(CSSPropertyID propId, bool important);
|
| bool parseFontFaceDescriptor(CSSPropertyID);
|
| @@ -117,7 +117,7 @@ class CSSPropertyParser {
|
| private:
|
| // Inputs:
|
| CSSParserTokenRange m_range;
|
| - const CSSParserContext& m_context;
|
| + Persistent<const CSSParserContext> m_context;
|
| // Outputs:
|
| HeapVector<CSSProperty, 256>* m_parsedProperties;
|
| };
|
|
|