Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp

Issue 2898133002: CSS: Use count unitless 0 supplied as <angle> (Closed)
Patch Set: test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..835eb27833fff6a1a8d26e46344fb7ecf02cd99a 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIImageOrientation.cpp
@@ -19,7 +19,8 @@ const CSSValue* CSSPropertyAPIImageOrientation::parseSingleValue(
if (range.Peek().Id() == CSSValueFromImage)
return CSSPropertyParserHelpers::ConsumeIdent(range);
if (range.Peek().GetType() != kNumberToken) {
- CSSPrimitiveValue* angle = CSSPropertyParserHelpers::ConsumeAngle(range);
+ CSSPrimitiveValue* angle = CSSPropertyParserHelpers::ConsumeAngle(
+ range, context, WTF::Optional<UseCounter::Feature>());
if (angle && angle->GetDoubleValue() == 0)
return angle;
}

Powered by Google App Engine
This is Rietveld 408576698