Index: src/gpu/gl/GrGLRenderTarget.h |
diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h |
index 85e377f69acd8be6fc28e061d178b094d28ae231..08dd88d523716e2cfbcfac814f66d209b6a306de 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.h |
+++ b/src/gpu/gl/GrGLRenderTarget.h |
@@ -31,10 +31,10 @@ public: |
bool fIsMixedSampled; |
}; |
- static GrGLRenderTarget* CreateWrapped(GrGLGpu*, |
- const GrSurfaceDesc&, |
- const IDDesc&, |
- int stencilBits); |
+ static sk_sp<GrGLRenderTarget> MakeWrapped(GrGLGpu*, |
+ const GrSurfaceDesc&, |
+ const IDDesc&, |
+ int stencilBits); |
void setViewport(const GrGLIRect& rect) { fViewport = rect; } |
const GrGLIRect& getViewport() const { return fViewport; } |