Index: src/core/SkGraphics.cpp |
diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp |
index 5290ea1d07a9065dc27329947c2a9b32b7e31beb..e9dcadc180d279c2afcfadcf311b02e6d986eec0 100644 |
--- a/src/core/SkGraphics.cpp |
+++ b/src/core/SkGraphics.cpp |
@@ -58,6 +58,12 @@ |
#endif |
} |
+void SkGraphics::Term() { |
+ PurgeFontCache(); |
+ PurgeResourceCache(); |
+ SkPaint::Term(); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
void SkGraphics::DumpMemoryStatistics(SkTraceMemoryDump* dump) { |