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

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

Issue 15001026: Deprecate the unofficial -webkit-transition media feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« Source/core/page/UseCounter.h ('K') | « Source/core/page/UseCounter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/UseCounter.cpp
diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
index c6100facd047516cf858f5b544b81c7e7e618263..b64a8dcf5a94c16ab4ab49e7a0090b9386e34d01 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -148,6 +148,9 @@ String UseCounter::deprecationMessage(Feature feature)
case DocumentClear:
return "document.clear() is deprecated. This method doesn't do anything.";
+ case PrefixedTransitionMediaFeature:
+ return "The (-webkit-transition) media query feature is deprecated; please consider using (transition) instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« Source/core/page/UseCounter.h ('K') | « Source/core/page/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698