Index: Source/platform/graphics/skia/SkiaUtils.h |
diff --git a/Source/platform/graphics/skia/SkiaUtils.h b/Source/platform/graphics/skia/SkiaUtils.h |
index bf938ff206d84c74a2981973a4e3d90fed822a83..62443523dff2e972ccdbaddeb71d700183756b0b 100644 |
--- a/Source/platform/graphics/skia/SkiaUtils.h |
+++ b/Source/platform/graphics/skia/SkiaUtils.h |
@@ -86,6 +86,11 @@ inline bool WebCoreFloatNearlyEqual(float a, float b) |
return SkScalarNearlyEqual(WebCoreFloatToSkScalar(a), WebCoreFloatToSkScalar(b)); |
} |
+inline SkPath::FillType WebCoreWindRuleToSkFillType(WindRule rule) |
+{ |
+ return static_cast<SkPath::FillType>(rule); |
+} |
+ |
// Determine if a given WebKit point is contained in a path |
bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType); |