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

Unified Diff: samplecode/SampleApp.cpp

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
Index: samplecode/SampleApp.cpp
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 6d5f647b158cee1df0baa5f8138a1afba6845474..72122234d9151d1d207f34d6a388467b163202b5 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -261,7 +261,7 @@ public:
fCurIntf = nullptr;
SkDebugf("Failed to setup 3D");
- win->detach();
+ win->release();
}
#endif // SK_SUPPORT_GPU
// call windowSizeChanged to create the render target
@@ -283,7 +283,7 @@ public:
SkSafeUnref(fCurRenderTarget);
fCurRenderTarget = nullptr;
#endif
- win->detach();
+ win->release();
fBackend = kNone_BackEndType;
}
« no previous file with comments | « platform_tools/android/apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp ('k') | samplecode/SamplePictFile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698