| 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 dd890089b67e1758fc6cf805777d198359307cd2..4c3e2c34bd59d83d41dcc94efa79ffe927f578d2 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Path.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Path.cpp
|
| @@ -86,7 +86,7 @@ bool Path::contains(const FloatPoint& point, WindRule rule) const {
|
| // FIXME: this method ignores the CTM and may yield inaccurate results for large
|
| // scales.
|
| SkPath Path::strokePath(const StrokeData& strokeData) const {
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| strokeData.setupPaint(&paint);
|
|
|
| // Skia stroke resolution scale. This is multiplied by 4 internally
|
| @@ -94,7 +94,7 @@ SkPath Path::strokePath(const StrokeData& strokeData) const {
|
| static const SkScalar kResScale = 0.3f;
|
|
|
| SkPath strokePath;
|
| - paint.getFillPath(m_path, &strokePath, nullptr, kResScale);
|
| + ToSkPaint(paint).getFillPath(m_path, &strokePath, nullptr, kResScale);
|
|
|
| return strokePath;
|
| }
|
|
|