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

Unified Diff: ui/base/animation/tween.cc

Issue 16105005: Cleanup legacy flags and switches (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 7 years, 7 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
« no previous file with comments | « ui/base/animation/tween.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/tween.cc
diff --git a/ui/base/animation/tween.cc b/ui/base/animation/tween.cc
index 2991ae6a8efe6292e13af30b36a7d1225745a351..ac6fa261fd532014b2a62637d8f09c0cec71f916 100644
--- a/ui/base/animation/tween.cc
+++ b/ui/base/animation/tween.cc
@@ -44,12 +44,6 @@ double Tween::CalculateValue(Tween::Type type, double state) {
case EASE_OUT:
return 1.0 - pow(1.0 - state, 2);
- case EASE_OUT_2:
- return 1.0 - pow(1.0 - state, 3);
-
- case EASE_OUT_3:
- return 1.0 - pow(1.0 - state, 4);
-
case SMOOTH_IN_OUT:
return sin(state);
« no previous file with comments | « ui/base/animation/tween.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698