Index: experimental/iOSSampleApp/SkSampleUIView.mm |
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm |
index 0c5209fa2604bb3259cea2db20e646ea1ed241dc..bd6d533cc839a1d3d27d6a2e1468da46219ca82b 100644 |
--- a/experimental/iOSSampleApp/SkSampleUIView.mm |
+++ b/experimental/iOSSampleApp/SkSampleUIView.mm |
@@ -97,7 +97,7 @@ public: |
SkSafeUnref(fCurContext); |
SkSafeUnref(fCurIntf); |
SkDebugf("Failed to setup 3D"); |
- win->detach(); |
+ win->release(); |
} |
#endif // SK_SUPPORT_GPU |
// call windowSizeChanged to create the render target |
@@ -115,7 +115,7 @@ public: |
SkSafeUnref(fCurRenderTarget); |
fCurRenderTarget = NULL; |
#endif |
- win->detach(); |
+ win->release(); |
fBackend = SampleWindow::kNone_BackEndType; |
} |