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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2746583003: Send deprecation messages for prefixed gradients now that it's possible. (Closed)
Patch Set: recommit Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 68973928d9baa66a49396dfafd04a8b383050d1a..cda002f21c29457a7444d2c7d03aa981ca3aaaaf 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -424,6 +424,24 @@ String Deprecation::DeprecationMessage(UseCounter::Feature feature) {
return willBeRemoved("SVGPathElement.getPathSegAtLength", M62,
"5638783282184192");
+ case UseCounter::kDeprecatedWebKitLinearGradient:
+ return replacedBy("-webkit-linear-gradient", "linear-gradient");
+
+ case UseCounter::kDeprecatedWebKitRepeatingLinearGradient:
+ return replacedBy("-webkit-repeating-linear-gradient",
+ "repeating-linear-gradient");
+
+ case UseCounter::kDeprecatedWebKitGradient:
+ return replacedBy("-webkit-gradient",
+ "linear-gradient or radial-gradient");
+
+ case UseCounter::kDeprecatedWebKitRadialGradient:
+ return replacedBy("-webkit-radial-gradient", "radial-gradient");
+
+ case UseCounter::kDeprecatedWebKitRepeatingRadialGradient:
+ return replacedBy("-webkit-repeating-radial-gradient",
+ "repeating-radial-gradient");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698