| Index: src/gpu/gl/debug/SkDebugGLContext.cpp
|
| diff --git a/src/gpu/gl/debug/SkDebugGLContext.cpp b/src/gpu/gl/debug/SkDebugGLContext.cpp
|
| index ae55104d460419f3420560a018f2197dbd1856a0..531e6c3ab89aaeb6408e3e78611ecec6e223ae30 100644
|
| --- a/src/gpu/gl/debug/SkDebugGLContext.cpp
|
| +++ b/src/gpu/gl/debug/SkDebugGLContext.cpp
|
| @@ -9,9 +9,9 @@
|
| #include "gl/debug/SkDebugGLContext.h"
|
|
|
| SkDebugGLContext::SkDebugGLContext() {
|
| - fGL.reset(GrGLCreateDebugInterface());
|
| + this->init(GrGLCreateDebugInterface());
|
| }
|
|
|
| SkDebugGLContext::~SkDebugGLContext() {
|
| - fGL.reset(NULL);
|
| + this->teardown();
|
| }
|
|
|