Index: src/gpu/vk/GrVkBuffer.h |
diff --git a/src/gpu/vk/GrVkBuffer.h b/src/gpu/vk/GrVkBuffer.h |
index bb529b3f7366dda79a4ce34210ceca0bb9969fb4..473a837646efcb6a5ebcabdd2224d76ab26244e9 100644 |
--- a/src/gpu/vk/GrVkBuffer.h |
+++ b/src/gpu/vk/GrVkBuffer.h |
@@ -20,7 +20,7 @@ class GrVkGpu; |
*/ |
class GrVkBuffer : public SkNoncopyable { |
public: |
- ~GrVkBuffer() { |
+ virtual ~GrVkBuffer() { |
// either release or abandon should have been called by the owner of this object. |
SkASSERT(!fResource); |
} |