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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.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/CSSPropertyAPIRotate.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
index 284158d3d8244314361cc653967efe6515207ebf..cb1583c71b9e67664d6b29e509b7c0cec1401c42 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIRotate.cpp
@@ -34,7 +34,8 @@ const CSSValue* CSSPropertyAPIRotate::parseSingleValue(
list->Append(*dimension);
}
- CSSValue* rotation = CSSPropertyParserHelpers::ConsumeAngle(range);
+ CSSValue* rotation = CSSPropertyParserHelpers::ConsumeAngle(
+ range, context, WTF::Optional<UseCounter::Feature>());
if (!rotation)
return nullptr;
list->Append(*rotation);

Powered by Google App Engine
This is Rietveld 408576698