| Index: tools/VisualBench/VisualBench.cpp
|
| diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
|
| index 6d0268a7086fd4ef2331966ab645792687e85ab6..69d47b6b0412f93b412b1e9c14ff8e1e77fb98b6 100644
|
| --- a/tools/VisualBench/VisualBench.cpp
|
| +++ b/tools/VisualBench/VisualBench.cpp
|
| @@ -108,7 +108,7 @@ void VisualBench::setupContext() {
|
| int screenSamples = FLAGS_offscreen ? 0 : FLAGS_msaa;
|
| if (!this->attach(kNativeGL_BackEndType, screenSamples, &fAttachmentInfo)) {
|
| SkDebugf("Not possible to create backend.\n");
|
| - INHERITED::detach();
|
| + INHERITED::release();
|
| SkFAIL("Could not create backend\n");
|
| }
|
|
|
| @@ -139,7 +139,7 @@ void VisualBench::tearDownContext() {
|
| fContext.reset();
|
| fSurface.reset();
|
| fInterface.reset();
|
| - this->detach();
|
| + this->release();
|
| }
|
| }
|
|
|
|
|