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

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

Issue 2841863005: CSS Motion Path: delete implementation of motion-offset property (Closed)
Patch Set: ManualTests 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
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 3fbc1223ee9db8d78e6f6db7e8b196dae7d12190..a2fdb48282e6db259159bf6b3fdbb172f765fa01 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -15,7 +15,6 @@
namespace {
enum Milestone {
- M58,
M59,
M60,
M61,
@@ -27,8 +26,6 @@ const char* milestoneString(Milestone milestone) {
// https://www.chromium.org/developers/calendar
switch (milestone) {
- case M58:
- return "M58, around April 2017";
case M59:
return "M59, around June 2017";
case M60:
@@ -117,13 +114,10 @@ void Deprecation::WarnOnDeprecatedProperties(
}
String Deprecation::DeprecationMessage(CSSPropertyID unresolved_property) {
- switch (unresolved_property) {
- case CSSPropertyAliasMotionOffset:
- return replacedWillBeRemoved("motion-offset", "offset-distance", M58,
- "6390764217040896");
- default:
- return g_empty_string;
- }
+ // TODO: Add a switch here when there are properties that we intend to
+ // deprecate.
+ // Returning an empty string for now.
+ return g_empty_string;
}
void Deprecation::CountDeprecation(const LocalFrame* frame,
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698