Index: src/gpu/vk/GrVkPipeline.h |
diff --git a/src/gpu/vk/GrVkPipeline.h b/src/gpu/vk/GrVkPipeline.h |
index bec4aeb6002fcec20333d4ca6d0de128370e6525..2565185712d1d7ee41a3a1993ed6ac139342bc48 100644 |
--- a/src/gpu/vk/GrVkPipeline.h |
+++ b/src/gpu/vk/GrVkPipeline.h |
@@ -43,16 +43,14 @@ public: |
} |
#endif |
-private: |
+protected: |
GrVkPipeline(VkPipeline pipeline) : INHERITED(), fPipeline(pipeline) {} |
- GrVkPipeline(const GrVkPipeline&); |
- GrVkPipeline& operator=(const GrVkPipeline&); |
+ VkPipeline fPipeline; |
+private: |
void freeGPUData(const GrVkGpu* gpu) const override; |
- VkPipeline fPipeline; |
- |
typedef GrVkResource INHERITED; |
}; |