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

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

Issue 2549343002: Revert "CSS Motion Path: report use of deprecated motion* properties" (Closed)
Patch Set: 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 041e2b8af6a96fe2e7673c436b0bb903c22018e4..0a45ad7f9e44ddfce04e38314bb39c002ad42801 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -113,18 +113,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