| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index c24153893ff417ec8c7f5839b37886a370944856..35e4d7b0479c0eb7a0dee538ca8dfd2c1a1b535d 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -1271,7 +1271,7 @@ void GraphicsContext::fillPath(const Path& pathToFill)
|
| SkPath& path = const_cast<SkPath&>(pathToFill.skPath());
|
| SkPath::FillType previousFillType = path.getFillType();
|
|
|
| - SkPath::FillType temporaryFillType = static_cast<SkPath::FillType>(immutableState()->fillRule());
|
| + SkPath::FillType temporaryFillType = WebCoreWindRuleToSkFillType(immutableState()->fillRule());
|
| path.setFillType(temporaryFillType);
|
|
|
| drawPath(path, immutableState()->fillPaint());
|
| @@ -1462,7 +1462,7 @@ void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule)
|
| SkPath& path = const_cast<SkPath&>(pathToClip.skPath());
|
| SkPath::FillType previousFillType = path.getFillType();
|
|
|
| - SkPath::FillType temporaryFillType = static_cast<SkPath::FillType>(clipRule);
|
| + SkPath::FillType temporaryFillType = WebCoreWindRuleToSkFillType(clipRule);
|
| path.setFillType(temporaryFillType);
|
| clipPath(path, AntiAliased);
|
|
|
| @@ -1499,7 +1499,7 @@ void GraphicsContext::canvasClip(const Path& pathToClip, WindRule clipRule)
|
| SkPath& path = const_cast<SkPath&>(pathToClip.skPath());
|
| SkPath::FillType previousFillType = path.getFillType();
|
|
|
| - SkPath::FillType temporaryFillType = static_cast<SkPath::FillType>(clipRule);
|
| + SkPath::FillType temporaryFillType = WebCoreWindRuleToSkFillType(clipRule);
|
| path.setFillType(temporaryFillType);
|
| clipPath(path);
|
|
|
|
|