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 a2fdb48282e6db259159bf6b3fdbb172f765fa01..3fbc1223ee9db8d78e6f6db7e8b196dae7d12190 100644 |
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
@@ -15,6 +15,7 @@ |
namespace { |
enum Milestone { |
+ M58, |
M59, |
M60, |
M61, |
@@ -26,6 +27,8 @@ |
// https://www.chromium.org/developers/calendar |
switch (milestone) { |
+ case M58: |
+ return "M58, around April 2017"; |
case M59: |
return "M59, around June 2017"; |
case M60: |
@@ -114,10 +117,13 @@ |
} |
String Deprecation::DeprecationMessage(CSSPropertyID unresolved_property) { |
- // TODO: Add a switch here when there are properties that we intend to |
- // deprecate. |
- // Returning an empty string for now. |
- return g_empty_string; |
+ switch (unresolved_property) { |
+ case CSSPropertyAliasMotionOffset: |
+ return replacedWillBeRemoved("motion-offset", "offset-distance", M58, |
+ "6390764217040896"); |
+ default: |
+ return g_empty_string; |
+ } |
} |
void Deprecation::CountDeprecation(const LocalFrame* frame, |