| 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 07965515e7b6a4c34df7cc4efa683fb63f52bdb3..dffbd0a878f90c1e796699637212074ce6d4a67e 100644
|
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| @@ -121,9 +121,18 @@ void Deprecation::warnOnDeprecatedProperties(const LocalFrame* frame, CSSPropert
|
|
|
| String Deprecation::deprecationMessage(CSSPropertyID unresolvedProperty)
|
| {
|
| - // TODO: Add a switch here when there are properties that we intend to deprecate.
|
| - // Returning an empty string for now.
|
| - return emptyString();
|
| + switch (unresolvedProperty) {
|
| + case CSSPropertyAliasMotionOffset:
|
| + return willBeRemoved("motion-offset", M58, "6390764217040896");
|
| + case CSSPropertyAliasMotionRotation:
|
| + return willBeRemoved("motion-rotation", M58, "6390764217040896");
|
| + case CSSPropertyAliasMotionPath:
|
| + case CSSPropertyMotion:
|
| + return willBeRemoved("motion-path", M58, "6390764217040896");
|
| +
|
| + default:
|
| + return emptyString();
|
| + }
|
| }
|
|
|
| void Deprecation::countDeprecation(const LocalFrame* frame, UseCounter::Feature feature)
|
|
|