aboutsummaryrefslogtreecommitdiffstats
path: root/tools/VisualBench/VisualBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/VisualBench/VisualBench.cpp')
-rw-r--r--tools/VisualBench/VisualBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
index 6d0268a708..69d47b6b04 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();
}
}