Add move assignment operator to GrSurfaceProxyView.

Bug: skia:9556
Change-Id: I3928a3f3350b222bda429195dc7115b9303d9598
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269199
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Greg Daniel 2020-02-06 15:19:22 -05:00 committed by Skia Commit-Bot
parent ab2f7c5720
commit ee72bd921a

View File

@ -32,6 +32,7 @@ public:
operator bool() const { return SkToBool(fProxy.get()); }
GrSurfaceProxyView& operator=(const GrSurfaceProxyView&) = default;
GrSurfaceProxyView& operator=(GrSurfaceProxyView&& view) = default;
bool operator==(const GrSurfaceProxyView& view) const {
return fProxy->uniqueID() == view.fProxy->uniqueID() &&