| Index: third_party/WebKit/Source/platform/graphics/Path.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Path.cpp b/third_party/WebKit/Source/platform/graphics/Path.cpp
|
| index b23f1aab70619fb43b0b0626e974e0cbf46700fd..32fd602081e6e29a922e4419b2b2bb64eed088fd 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Path.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Path.cpp
|
| @@ -72,9 +72,14 @@ bool Path::operator==(const Path& other) const
|
| return m_path == other.m_path;
|
| }
|
|
|
| +bool Path::contains(const FloatPoint& point) const
|
| +{
|
| + return SkPathContainsPoint(m_path, point, m_path.getFillType());
|
| +}
|
| +
|
| bool Path::contains(const FloatPoint& point, WindRule rule) const
|
| {
|
| - return SkPathContainsPoint(m_path, point, static_cast<SkPath::FillType>(rule));
|
| + return SkPathContainsPoint(m_path, point, WebCoreWindRuleToSkFillType(rule));
|
| }
|
|
|
| // FIXME: this method ignores the CTM and may yield inaccurate results for large scales.
|
|
|