Index: include/core/SkGraphics.h |
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h |
index 8e8bd77ef4545048bb3114cb5bf82d3334cdb3f2..e9c5af511e4fa35c42a53ef152aa1deac196cb98 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 |