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

Unified Diff: dm/DM.cpp

Issue 1180593005: call portable font cleanup only once at app end (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | tools/sk_tool_utils.h » ('j') | tools/sk_tool_utils_font.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index af20a783685d7059e9e4bde58eb01da96a095854..33ce0a41bff68288ac16736fce3fa1fc87ac438b 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -797,6 +797,7 @@ int dm_main() {
}
tg.wait();
// At this point we're back in single-threaded land.
+ sk_tool_utils::release_portable_typefaces();
SkDebugf("\n");
if (gFailures.count() > 0) {
« no previous file with comments | « no previous file | tools/sk_tool_utils.h » ('j') | tools/sk_tool_utils_font.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698