Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index 31f6de11eefd7b561d247a722d4391772f30d82d..bc71e46dbb5d340b5ebb939565e4c67f117cd146 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -198,6 +198,8 @@ protected: |
SkSurface* newSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
+ void drawAnnotation(const SkDraw&, const SkRect&, const char key[], SkData* value) override; |
+ |
private: |
// TODO(vandebo): push most of SkPDFDevice's state into a core object in |
// order to get the right access levels without using friend. |
@@ -303,10 +305,8 @@ private: |
bool handleInversePath(const SkDraw& d, const SkPath& origPath, |
const SkPaint& paint, bool pathIsMutable, |
const SkMatrix* prePathMatrix = nullptr); |
- bool handlePointAnnotation(const SkPoint* points, size_t count, |
- const SkMatrix& matrix, SkAnnotation* annot); |
- bool handlePathAnnotation(const SkPath& path, const SkDraw& d, |
- SkAnnotation* annot); |
+ void handlePointAnnotation(const SkPoint&, const SkMatrix&, const char key[], SkData* value); |
+ void handlePathAnnotation(const SkPath&, const SkDraw& d, const char key[], SkData* value); |
typedef SkBaseDevice INHERITED; |