| Index: src/gpu/GrDrawState.h
|
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
|
| index 71c44d4867916bc6366fb288e1a1e4eed3242819..4b0ec64aff7d2ccf1dafa620957f1aa676e8a0d3 100644
|
| --- a/src/gpu/GrDrawState.h
|
| +++ b/src/gpu/GrDrawState.h
|
| @@ -530,9 +530,7 @@ public:
|
| *
|
| * @return The currently set render target.
|
| */
|
| - GrRenderTarget* getRenderTarget() const {
|
| - return static_cast<GrRenderTarget*>(fRenderTarget.getResource());
|
| - }
|
| + GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); }
|
|
|
| /**
|
| * Sets the render-target used at the next drawing call
|
|
|