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

Unified Diff: cc/timing_function.h

Issue 11359077: cc: Replace the WebCore::UnitBezier class with the SkUnitCubicInterp() method from Skia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix web unittests Created 8 years, 1 month 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 | « cc/stubs/unit_bezier.h ('k') | cc/timing_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/timing_function.h
diff --git a/cc/timing_function.h b/cc/timing_function.h
index df9e7ef76667f2eba65b9656e86de7114e9b031d..1150ebaba0db730d428d4552f063c7ef61a82725 100644
--- a/cc/timing_function.h
+++ b/cc/timing_function.h
@@ -5,9 +5,9 @@
#ifndef CC_TIMING_FUNCTION_H_
#define CC_TIMING_FUNCTION_H_
-#include "UnitBezier.h"
#include "cc/animation_curve.h"
#include "cc/cc_export.h"
+#include "third_party/skia/include/core/SkScalar.h"
namespace cc {
@@ -35,7 +35,10 @@ public:
protected:
CubicBezierTimingFunction(double x1, double y1, double x2, double y2);
- UnitBezier m_curve;
+ SkScalar m_x1;
+ SkScalar m_y1;
+ SkScalar m_x2;
+ SkScalar m_y2;
};
class CC_EXPORT EaseTimingFunction {
« no previous file with comments | « cc/stubs/unit_bezier.h ('k') | cc/timing_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698