Index: Source/platform/graphics/Path.cpp |
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp |
index a58e7d310652706cea35ab6fe44d8479f959853d..9d22b53a58d44f78cfe5ec3999679f6174db7c61 100644 |
--- a/Source/platform/graphics/Path.cpp |
+++ b/Source/platform/graphics/Path.cpp |
@@ -277,7 +277,7 @@ WindRule Path::windRule() const |
void Path::setWindRule(const WindRule rule) |
{ |
- m_path.setFillType(static_cast<SkPath::FillType>(rule)); |
+ m_path.setFillType(WebCoreWindRuleToSkFillType(rule)); |
} |
void Path::moveTo(const FloatPoint& point) |