Chromium Code Reviews| Index: src/gpu/gl/SkGLContextHelper.cpp |
| diff --git a/src/gpu/gl/SkGLContextHelper.cpp b/src/gpu/gl/SkGLContextHelper.cpp |
| index 2381a84519b868618c21523baee44a57fe083e2f..411e1de01e947bbc667402cfacd51d694ac843ce 100644 |
| --- a/src/gpu/gl/SkGLContextHelper.cpp |
| +++ b/src/gpu/gl/SkGLContextHelper.cpp |
| @@ -134,3 +134,9 @@ bool SkGLContextHelper::init(GrGLStandard forcedGpuAPI, int width, |
| } |
| return false; |
| } |
| + |
| +void SkGLContextHelper::testAbandon() { |
| + if (NULL != fGL) { |
| + fGL->abandon(); |
| + } |
| +} |