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

Unified Diff: tools/sk_tool_utils.h

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
Index: tools/sk_tool_utils.h
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index 302de958b5b44e2fb6d8862798e1780988777067..4bf9ad6ac5fa3ec07275b082e86a5dfdebdee869 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -36,6 +36,8 @@ namespace sk_tool_utils {
SkTypeface::Style style = SkTypeface::kNormal);
SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style style);
SkTypeface* create_portable_typeface_always(const char* name, SkTypeface::Style style);
+ /** Call to clean up portable font references. */
+ void release_portable_typefaces();
void report_used_chars();
/**
« no previous file with comments | « dm/DM.cpp ('k') | tools/sk_tool_utils_font.cpp » ('j') | tools/sk_tool_utils_font.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698