Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index 4869658b4f3c2f3929832d5ea293cd6a5aafd1d5..f04d592713cb6991989920e5e51cc983fe1afca9 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -405,7 +405,7 @@ public: |
* @param target The render target to set. |
*/ |
void setRenderTarget(GrRenderTarget* target) { |
- fRenderTarget.setResource(SkSafeRef(target), GrProgramResource::kWrite_IOType); |
+ fRenderTarget.set(SkSafeRef(target), GrProgramResource::kWrite_IOType); |
this->invalidateOptState(); |
} |