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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 1158563006: Add SMIL deprecation warning (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 33bafef013b2aea137be946057d0acf01259e2fc..5944c27c0bbac43a6de4d1443a5fcea6a33912c2 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -900,6 +900,10 @@ String UseCounter::deprecationMessage(Feature feature)
case DocumentGetCSSCanvasContext:
return "The -webkit-canvas CSS feature is deprecated. Please use a positioned <canvas> element instead.";
+ case SVGSMILElementInDocument:
+ case SVGSMILAnimationInImageRegardlessOfCache:
+ return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698