Index: tools/gpu/vk/VkTestContext.h |
diff --git a/tools/gpu/vk/VkTestContext.h b/tools/gpu/vk/VkTestContext.h |
index 5c6408a5491e4ef7199b7ea5ab618ac1a0d0d606..ecec17b7dc08f6d4a31b2f128707fae1d0bd8a22 100644 |
--- a/tools/gpu/vk/VkTestContext.h |
+++ b/tools/gpu/vk/VkTestContext.h |
@@ -24,7 +24,7 @@ public: |
bool isValid() const override { return NULL != this->vk(); } |
- const GrVkInterface* vk() const { return fVk->fInterface; } |
+ const GrVkInterface* vk() const { return fVk->fInterface.get(); } |
protected: |
VkTestContext(sk_sp<const GrVkBackendContext> vk) : fVk(std::move(vk)) {} |