diff options
author | 2015-04-28 06:21:01 -0700 | |
---|---|---|
committer | 2015-04-28 06:21:02 -0700 | |
commit | 438de49857cab98981b35d04dc49c2135124d18b (patch) | |
tree | 0f3d26f8ebbf16a0e1e92679dff4a631f0b99ff0 /src/pdf/SkPDFDevice.h | |
parent | f4219ddf31b2171a5576ab98d1fd2deab4d816fd (diff) |
SkPDF: clean up uses of deprecated calls in SkPDFDevice.
Clean up reference count handling to avoid churn and follow pattern used elsewhere in SkPDF.
BUG=skia:3585
Review URL: https://codereview.chromium.org/1103163002
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
-rw-r--r-- | src/pdf/SkPDFDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h index 2850cf943c..18be58de43 100644 --- a/src/pdf/SkPDFDevice.h +++ b/src/pdf/SkPDFDevice.h @@ -297,7 +297,7 @@ private: const SkPaint& paint); bool handlePointAnnotation(const SkPoint* points, size_t count, const SkMatrix& matrix, const SkPaint& paint); - SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix); + void addAnnotation(SkPDFDict*); void handleLinkToURL(SkData* urlData, const SkRect& r, const SkMatrix& matrix); void handleLinkToNamedDest(SkData* nameData, const SkRect& r, |