diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 34461b5915..e1b4d5487a 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1813,7 +1813,10 @@ public: ImageSetEntry(sk_sp image, const SkRect& srcRect, const SkRect& dstRect, float alpha, unsigned aaFlags); - ImageSetEntry() = default; + ImageSetEntry(); + ~ImageSetEntry(); + ImageSetEntry(const ImageSetEntry&); + ImageSetEntry& operator=(const ImageSetEntry&); sk_sp fImage; SkRect fSrcRect; diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index bddffa45af..0fddd6b72c 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -2849,6 +2849,11 @@ int SkCanvas::LayerIter::y() const { return fImpl->getY(); } /////////////////////////////////////////////////////////////////////////////// +SkCanvas::ImageSetEntry::ImageSetEntry() = default; +SkCanvas::ImageSetEntry::~ImageSetEntry() = default; +SkCanvas::ImageSetEntry::ImageSetEntry(const ImageSetEntry&) = default; +SkCanvas::ImageSetEntry& SkCanvas::ImageSetEntry::operator=(const ImageSetEntry&) = default; + SkCanvas::ImageSetEntry::ImageSetEntry(sk_sp image, const SkRect& srcRect, const SkRect& dstRect, int matrixIndex, float alpha, unsigned aaFlags, bool hasClip)