Index: src/pdf/SkPDFUtils.h |
diff --git a/src/pdf/SkPDFUtils.h b/src/pdf/SkPDFUtils.h |
index 38f300aacf356620fb83ce4608c4f07f24b7dd1b..0aa05a088a8e59898a9d4d1e776d9ede37fd322f 100644 |
--- a/src/pdf/SkPDFUtils.h |
+++ b/src/pdf/SkPDFUtils.h |
@@ -46,7 +46,11 @@ public: |
SkScalar dstX, SkScalar dstY, SkWStream* content); |
static void AppendRectangle(const SkRect& rect, SkWStream* content); |
static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, |
- SkWStream* content); |
+ bool doConsumeDegerates, SkWStream* content); |
+ static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, |
+ SkWStream* content) { |
+ SkPDFUtils::EmitPath(path, paintStyle, true, content); |
+ } |
static void ClosePath(SkWStream* content); |
static void PaintPath(SkPaint::Style style, SkPath::FillType fill, |
SkWStream* content); |