diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 4d8b056bc7..5c26924dec 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -36,10 +36,10 @@ namespace gr_instanced { class GLInstancedRendering; } class GrGLGpu final : public GrGpu, private GrMesh::SendToGpuImpl { public: - static GrGpu* Create(GrBackendContext backendContext, const GrContextOptions& options, - GrContext* context); - static GrGpu* Create(const GrGLInterface*, const GrContextOptions& options, - GrContext* context); + static sk_sp<GrGpu> Make(GrBackendContext backendContext, const GrContextOptions& options, + GrContext* context); + static sk_sp<GrGpu> Make(sk_sp<const GrGLInterface>, const GrContextOptions& options, + GrContext* context); ~GrGLGpu() override; void disconnect(DisconnectType) override; |