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

Unified Diff: include/core/SkGraphics.h

Issue 1329853005: Make SkGraphics::Term a no-op, stop calling it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove deprecation 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
« no previous file with comments | « experimental/SkV8Example/SkV8Example.cpp ('k') | include/core/SkPaint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkGraphics.h
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index 8e8bd77ef4545048bb3114cb5bf82d3334cdb3f2..5aecc7acd00f029ffd85fd2035fae98fd63152c7 100644
--- a/include/core/SkGraphics.h
+++ b/include/core/SkGraphics.h
@@ -23,10 +23,8 @@ public:
*/
static void Init();
- /**
- * Call this to release any memory held privately, such as the font cache.
- */
- static void Term();
+ // We're in the middle of cleaning this up.
+ static void Term() {}
/**
* Return the version numbers for the library. If the parameter is not
@@ -169,9 +167,6 @@ public:
SkAutoGraphics() {
SkGraphics::Init();
}
- ~SkAutoGraphics() {
- SkGraphics::Term();
- }
};
#endif
« no previous file with comments | « experimental/SkV8Example/SkV8Example.cpp ('k') | include/core/SkPaint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698