Index: ui/gfx/geometry/cubic_bezier.cc |
diff --git a/ui/gfx/geometry/cubic_bezier.cc b/ui/gfx/geometry/cubic_bezier.cc |
index f438c9e72bf62d2df1e556062b77e6cf24ab99e7..e42d893d7f1de1fb1c1acdd2b0468076fae531c2 100644 |
--- a/ui/gfx/geometry/cubic_bezier.cc |
+++ b/ui/gfx/geometry/cubic_bezier.cc |
@@ -132,6 +132,10 @@ void CubicBezier::InitRange(double p1y, double p2y) { |
range_max_ = std::max(std::max(range_max_, sol1), sol2); |
} |
+double CubicBezier::GetDefaultEpsilon() { |
+ return kBezierEpsilon; |
+} |
+ |
double CubicBezier::SolveCurveX(double x, double epsilon) const { |
DCHECK_GE(x, 0.0); |
DCHECK_LE(x, 1.0); |