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

Unified Diff: src/core/SkAutoPixmapStorage.h

Issue 1821303002: Remove SkPixmap::release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | src/core/SkAutoPixmapStorage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkAutoPixmapStorage.h
diff --git a/src/core/SkAutoPixmapStorage.h b/src/core/SkAutoPixmapStorage.h
index 4379b13d2482ade8ed7c5f8bc48751be460caee6..1a07a9773a4e9f4d25a8f97c14139b63b63a6f6a 100644
--- a/src/core/SkAutoPixmapStorage.h
+++ b/src/core/SkAutoPixmapStorage.h
@@ -46,14 +46,6 @@ public:
*/
const SkData* SK_WARN_UNUSED_RESULT detachPixelsAsData();
- /**
- * Whereas 'reset' frees the backing memory and then clears the SkPixmap,
- * this entry point disowns the backing memory before clearing so the memory
- * isn't freed. It can be used when the Pixmap has been installed into
- * an SkBitmap and the SkBitmap should manage the memory's lifetime.
- */
- void release();
-
// We wrap these so we can clear our internal storage
void reset() {
« no previous file with comments | « no previous file | src/core/SkAutoPixmapStorage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698