Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: experimental/iOSSampleApp/SkSampleUIView.mm

Issue 1809733002: detach -> release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: (C) Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « example/HelloWorld.cpp ('k') | experimental/tools/coreGraphicsPdf2png.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « example/HelloWorld.cpp ('k') | experimental/tools/coreGraphicsPdf2png.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698