| Index: src/pdf/SkPDFDevice.h
|
| diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h
|
| index bc71e46dbb5d340b5ebb939565e4c67f117cd146..31f6de11eefd7b561d247a722d4391772f30d82d 100644
|
| --- a/src/pdf/SkPDFDevice.h
|
| +++ b/src/pdf/SkPDFDevice.h
|
| @@ -198,8 +198,6 @@
|
|
|
| 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.
|
| @@ -305,8 +303,10 @@
|
| bool handleInversePath(const SkDraw& d, const SkPath& origPath,
|
| const SkPaint& paint, bool pathIsMutable,
|
| const SkMatrix* prePathMatrix = nullptr);
|
| - void handlePointAnnotation(const SkPoint&, const SkMatrix&, const char key[], SkData* value);
|
| - void handlePathAnnotation(const SkPath&, const SkDraw& d, const char key[], SkData* value);
|
| + bool handlePointAnnotation(const SkPoint* points, size_t count,
|
| + const SkMatrix& matrix, SkAnnotation* annot);
|
| + bool handlePathAnnotation(const SkPath& path, const SkDraw& d,
|
| + SkAnnotation* annot);
|
|
|
| typedef SkBaseDevice INHERITED;
|
|
|
|
|