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

Unified Diff: include/core/SkImage.h

Issue 1352883004: Purge cached resources on SkImage destruction. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: codestyle Created 5 years, 3 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: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 90448d859570b9db1aa055d4421e86630227cfd5..c9a0ff1bfddb75de0d66804bd09db964496cd57d 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -328,6 +328,7 @@ public:
protected:
SkImage(int width, int height, uint32_t uniqueID);
+ virtual ~SkImage();
private:
const int fWidth;
« no previous file with comments | « gm/image_pict.cpp ('k') | src/core/SkBitmapProvider.cpp » ('j') | src/core/SkBitmapProvider.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698