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

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

Issue 2540333003: Revert "CSS Motion Path: report use of deprecated motion* properties" (Closed)
Patch Set: Avoid using motion-path in writing mode test Created 4 years 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/LayoutTests/fast/writing-mode/orthogonal-writing-modes-floats-crash-2-expected.txt ('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 245ff3d72fc44ddb22e6628e18ffef4b4ab8391e..43d8097e4718c27263903e5d059ef8e55d511684 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -116,18 +116,10 @@ void Deprecation::warnOnDeprecatedProperties(const LocalFrame* frame,
}
String Deprecation::deprecationMessage(CSSPropertyID unresolvedProperty) {
- 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();
- }
+ // TODO: Add a switch here when there are properties that we intend to
+ // deprecate.
+ // Returning an empty string for now.
+ return emptyString();
}
void Deprecation::countDeprecation(const LocalFrame* frame,
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-floats-crash-2-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698