| Index: third_party/WebKit/Source/platform/graphics/Path.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Path.h b/third_party/WebKit/Source/platform/graphics/Path.h
|
| index bbc1f750baca8c9307378b8e03e747df5b3f7cd9..adcacaec9c6d22adb4740e9a3557b123fd008260 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Path.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Path.h
|
| @@ -82,8 +82,8 @@ public:
|
| FloatRect strokeBoundingRect(const StrokeData&) const;
|
|
|
| float length() const;
|
| - FloatPoint pointAtLength(float length, bool& ok) const;
|
| - bool pointAndNormalAtLength(float length, FloatPoint&, float&) const;
|
| + FloatPoint pointAtLength(float length) const;
|
| + void pointAndNormalAtLength(float length, FloatPoint&, float&) const;
|
|
|
| // Helper for computing a sequence of positions and normals (normal angles) on a path.
|
| // The best possible access pattern will be one where the |length| value is
|
| @@ -96,7 +96,7 @@ public:
|
| public:
|
| explicit PositionCalculator(const Path&);
|
|
|
| - bool pointAndNormalAtLength(float length, FloatPoint&, float&);
|
| + void pointAndNormalAtLength(float length, FloatPoint&, float&);
|
|
|
| private:
|
| SkPath m_path;
|
|
|