aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrRenderTargetPriv.h')
-rw-r--r--src/gpu/GrRenderTargetPriv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetPriv.h b/src/gpu/GrRenderTargetPriv.h
index 71ef809951..aa981fd535 100644
--- a/src/gpu/GrRenderTargetPriv.h
+++ b/src/gpu/GrRenderTargetPriv.h
@@ -21,7 +21,9 @@ public:
/**
* GrStencilAttachment is not part of the public API.
*/
- GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; }
+ GrStencilAttachment* getStencilAttachment() const {
+ return fRenderTarget->fStencilAttachment.get();
+ }
/**
* Attaches the GrStencilAttachment onto the render target. If stencil is a nullptr then the