| Index: src/utils/SkMultiPictureDocument.cpp
|
| diff --git a/src/utils/SkMultiPictureDocument.cpp b/src/utils/SkMultiPictureDocument.cpp
|
| index e4105fa31dbdea8ab509f6b93a68c187facad332..214e6ad5371e518cd84e698eabed74be5c27ba24 100644
|
| --- a/src/utils/SkMultiPictureDocument.cpp
|
| +++ b/src/utils/SkMultiPictureDocument.cpp
|
| @@ -60,14 +60,10 @@ struct NullWStream : public SkWStream {
|
|
|
| struct Page {
|
| Page(SkSize s, sk_sp<SkPicture> c) : fSize(s), fContent(std::move(c)) {}
|
| - Page(Page&& that) : fSize(that.fSize), fContent(std::move(that.fContent)) {}
|
| + Page(Page&&) = default;
|
| Page(const Page&) = default;
|
| Page& operator=(const Page&) = default;
|
| - Page& operator=(Page&& that) {
|
| - fSize = that.fSize;
|
| - fContent = std::move(that.fContent);
|
| - return *this;
|
| - }
|
| + Page& operator=(Page&&) = default;
|
| SkSize fSize;
|
| sk_sp<SkPicture> fContent;
|
| };
|
|
|