| Index: Source/core/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
|
| index 733462eef93f3a573e37bace002d4f8a4ff438a5..f5c2b7b1706dffa4878ca5606998293b779ec652 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsContext.cpp
|
| @@ -1143,31 +1143,6 @@ void GraphicsContext::fillEllipse(const FloatRect& ellipse)
|
| platformContext()->drawOval(rect, paint);
|
| }
|
|
|
| -void GraphicsContext::strokeArc(const IntRect& r, int startAngle, int angleSpan)
|
| -{
|
| - if (paintingDisabled())
|
| - return;
|
| -
|
| - SkPaint paint;
|
| - SkRect oval = r;
|
| - if (strokeStyle() == NoStroke) {
|
| - // Stroke using the fill color.
|
| - // TODO(brettw) is this really correct? It seems unreasonable.
|
| - platformContext()->setupPaintForFilling(&paint);
|
| - paint.setStyle(SkPaint::kStroke_Style);
|
| - paint.setStrokeWidth(WebCoreFloatToSkScalar(strokeThickness()));
|
| - } else
|
| - platformContext()->setupPaintForStroking(&paint, 0, 0);
|
| -
|
| - // We do this before converting to scalar, so we don't overflow SkFixed.
|
| - startAngle = fastMod(startAngle, 360);
|
| - angleSpan = fastMod(angleSpan, 360);
|
| -
|
| - SkPath path;
|
| - path.addArc(oval, SkIntToScalar(-startAngle), SkIntToScalar(-angleSpan));
|
| - platformContext()->drawPath(path, paint);
|
| -}
|
| -
|
| void GraphicsContext::strokePath(const Path& pathToStroke)
|
| {
|
| if (paintingDisabled() || pathToStroke.isEmpty())
|
|
|