Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 59f97e9665f3b6428fba8ffb92137e2a5cf8c553..90467771ce372ea99ba94d91e14beabf167d6fab 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1141,6 +1141,9 @@ public: |
* a picture or drawing to a PDF document) will pass on this information. |
*/ |
void drawAnnotation(const SkRect&, const char key[], SkData* value); |
+ void drawAnnotation(const SkRect& rect, const char key[], const sk_sp<SkData>& value) { |
+ this->drawAnnotation(rect, key, value.get()); |
+ } |
////////////////////////////////////////////////////////////////////////// |
#ifdef SK_INTERNAL |