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

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

Issue 901623002: Deprecate SVGSVGElement.forceRedraw, suspendRedraw, unsuspendRedraw[All] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 c0f76a716c25d8d8fad864d87ab5d28365cb7bd0..91ae6830ad568309b2377e8f1ea20a6cc44ff164 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -841,6 +841,18 @@ String UseCounter::deprecationMessage(Feature feature)
case AudioBufferSourceBufferOnce:
return "Setting AudioBufferSourceNode.buffer more than once is deprecated and will no longer work in Chrome 43.";
+ case SVGSVGElementForceRedraw:
+ return "'SVGSVGElement.forceRedraw' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__forceRedraw).";
philipj_slow 2015/02/04 15:45:24 Append () to the function names to match other mes
Erik Dahlström (inactive) 2015/02/05 08:43:00 Done.
+
+ case SVGSVGElementSuspendRedraw:
+ return "'SVGSVGElement.suspendRedraw' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__suspendRedraw).";
+
+ case SVGSVGElementUnsuspendRedraw:
+ return "'SVGSVGElement.unsuspendRedraw' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__unsuspendRedraw).";
+
+ case SVGSVGElementUnsuspendRedrawAll:
+ return "'SVGSVGElement.unsuspendRedrawAll' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__unsuspendRedrawAll).";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698