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:
parent
ab2f7c5720
commit
ee72bd921a
@ -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() &&
|
||||
|
Loading…
Reference in New Issue
Block a user