diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index e1bc869497..4409b0c8fc 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -336,7 +336,7 @@ private: public: HWGeometryState() { fVBOVertexArray = NULL; this->invalidate(); } - ~HWGeometryState() { SkSafeUnref(fVBOVertexArray); } + ~HWGeometryState() { SkDELETE(fVBOVertexArray); } void invalidate() { fBoundVertexArrayIDIsValid = false; |