Index: include/pdf/SkPDFDevice.h |
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h |
index b781978d1710d54252e79a099c95bc50eeff7036..207b2b22987720027125ef85e688d2201c581c56 100644 |
--- a/include/pdf/SkPDFDevice.h |
+++ b/include/pdf/SkPDFDevice.h |
@@ -293,8 +293,10 @@ private: |
*/ |
void copyContentEntriesToData(ContentEntry* entry, SkWStream* data) const; |
+#ifdef SK_PDF_USE_PATHOPS |
bool handleInversePath(const SkDraw& d, const SkPath& origPath, |
const SkPaint& paint, bool pathIsMutable); |
+#endif |
bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, |
const SkPaint& paint); |
bool handlePointAnnotation(const SkPoint* points, size_t count, |