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

Unified Diff: Source/core/platform/animation/TimingFunction.h

Issue 15804002: Remove unused GraphicsLayerAnimation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « Source/core/core.gypi ('k') | Source/core/platform/graphics/GraphicsLayerAnimation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/animation/TimingFunction.h
diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/core/platform/animation/TimingFunction.h
index ae4c5afaebf16187065016d7fdf7d884c3a94b0f..e3446f7ad65f3e6acffd07235bbdfac535907929 100644
--- a/Source/core/platform/animation/TimingFunction.h
+++ b/Source/core/platform/animation/TimingFunction.h
@@ -134,13 +134,7 @@ public:
double y2() const { return m_y2; }
TimingFunctionPreset timingFunctionPreset() const { return m_timingFunctionPreset; }
-
- static const CubicBezierTimingFunction* defaultTimingFunction()
- {
- static const CubicBezierTimingFunction* dtf = create().leakRef();
- return dtf;
- }
-
+
private:
explicit CubicBezierTimingFunction(TimingFunctionPreset preset = Ease, double x1 = 0.25, double y1 = 0.1, double x2 = 0.25, double y2 = 1.0)
: TimingFunction(CubicBezierFunction)
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/platform/graphics/GraphicsLayerAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698