Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp |
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp |
| index ea70595f1c722c30284df849612415f9cd5fa501..d23c64c38f8fedbd309562c52a71c08d06fa215f 100644 |
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp |
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp |
| @@ -11,15 +11,18 @@ |
| namespace blink { |
| +using namespace CSSPropertyParserHelpers; |
|
Bugs Nash
2017/05/24 06:24:20
please add this namespace change in the apis to th
|
| + |
| const CSSValue* CSSPropertyAPIImageOrientation::parseSingleValue( |
| CSSParserTokenRange& range, |
| const CSSParserContext& context, |
| CSSPropertyID) { |
| DCHECK(RuntimeEnabledFeatures::imageOrientationEnabled()); |
| if (range.Peek().Id() == CSSValueFromImage) |
| - return CSSPropertyParserHelpers::ConsumeIdent(range); |
| + return ConsumeIdent(range); |
| if (range.Peek().GetType() != kNumberToken) { |
| - CSSPrimitiveValue* angle = CSSPropertyParserHelpers::ConsumeAngle(range); |
| + CSSPrimitiveValue* angle = ConsumeAngle( |
| + range, context, UnitlessQuirk::kForbid, UseCounter::kNumberOfFeatures); |
| if (angle && angle->GetDoubleValue() == 0) |
| return angle; |
| } |