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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp

Issue 2526233002: Web Animations: Retire warning for hyphenated property names (Closed)
Patch Set: retire deprecation warning Created 4 years, 1 month 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/animation/AnimationInputHelpers.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
index f2e026af6ce8dd4224493019068ccb6ca809fd2d..5a0a86cc6e16add044e87fbcb94abdc15bd38d8e 100644
--- a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp
@@ -46,12 +46,8 @@ CSSPropertyID AnimationInputHelpers::keyframeAttributeToCSSProperty(
StringBuilder builder;
for (size_t i = 0; i < property.length(); ++i) {
// Disallow hyphenated properties.
- if (property[i] == '-') {
- if (cssPropertyID(property) != CSSPropertyInvalid)
- Deprecation::countDeprecation(
- document, UseCounter::WebAnimationHyphenatedProperty);
+ if (property[i] == '-')
return CSSPropertyInvalid;
- }
if (isASCIIUpper(property[i]))
builder.append('-');
builder.append(property[i]);

Powered by Google App Engine
This is Rietveld 408576698