blob: 335ad9b84b94a4574aa19cb58a99756b0861d8da (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- tools/sk_app/VulkanWindowContext.h
+++ tools/sk_app/VulkanWindowContext.h
@@ -33,6 +33,8 @@
SharedGrContext() {}
GrContext* getGrContext() { return shared ? shared->fContext.get() : nullptr; }
~SharedGrContext() { shared.reset(); checkDestroyShared(); }
+ SharedGrContext(SharedGrContext const &) = default;
+ SharedGrContext & operator =(SharedGrContext const &) = default;
bool operator!() const { return !shared; }
void reset() { shared.reset(); }
private:
|