| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp
|
| index dc663be345acb62f4d01863b947722e2e52fcac8..c1b7250b7867f972b8fe248e8d32268386e6061a 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp
|
| @@ -15,11 +15,11 @@
|
|
|
| const CSSValue* CSSPropertyAPICursor::parseSingleValue(
|
| CSSParserTokenRange& range,
|
| - const CSSParserContext* context) {
|
| - bool inQuirksMode = isQuirksModeBehavior(context->mode());
|
| + const CSSParserContext& context) {
|
| + bool inQuirksMode = isQuirksModeBehavior(context.mode());
|
| CSSValueList* list = nullptr;
|
| while (CSSValue* image = CSSPropertyParserHelpers::consumeImage(
|
| - range, context,
|
| + range, &context,
|
| CSSPropertyParserHelpers::ConsumeGeneratedImagePolicy::Forbid)) {
|
| double num;
|
| IntPoint hotSpot(-1, -1);
|
| @@ -44,9 +44,9 @@
|
| CSSValueID id = range.peek().id();
|
| if (!range.atEnd()) {
|
| if (id == CSSValueWebkitZoomIn)
|
| - context->count(UseCounter::PrefixedCursorZoomIn);
|
| + context.count(UseCounter::PrefixedCursorZoomIn);
|
| else if (id == CSSValueWebkitZoomOut)
|
| - context->count(UseCounter::PrefixedCursorZoomOut);
|
| + context.count(UseCounter::PrefixedCursorZoomOut);
|
| }
|
| CSSValue* cursorType = nullptr;
|
| if (id == CSSValueHand) {
|
|
|