aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkGraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkGraphics.h')
-rw-r--r--include/core/SkGraphics.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index 8e8bd77ef4..e9c5af511e 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();
+ SK_ATTR_DEPRECATED("SkGraphics::Term() is a no-op. We're in the middle of cleaning it 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