Index: example/HelloWorld.cpp |
diff --git a/example/HelloWorld.cpp b/example/HelloWorld.cpp |
index e30c4674e8d89a6e752fa96831fd07c90cf94cb7..817bbaa4633ec7e6bd0c9d1ef7950ed3f4ed38ce 100644 |
--- a/example/HelloWorld.cpp |
+++ b/example/HelloWorld.cpp |
@@ -49,7 +49,7 @@ void HelloWorldWindow::tearDownBackend() { |
SkSafeUnref(fRenderTarget); |
fRenderTarget = NULL; |
- INHERITED::detach(); |
+ INHERITED::release(); |
} |
void HelloWorldWindow::setTitle() { |
@@ -65,7 +65,7 @@ bool HelloWorldWindow::setUpBackend() { |
bool result = attach(kNativeGL_BackEndType, 0 /*msaa*/, &fAttachmentInfo); |
if (false == result) { |
SkDebugf("Not possible to create backend.\n"); |
- detach(); |
+ release(); |
return false; |
} |