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

Unified Diff: include/core/SkTypeface.h

Issue 304383005: Port most uses of SkOnce to SkLazyPtr. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: static Created 6 years, 7 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: include/core/SkTypeface.h
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
index 0be97eb4f7c3a864413c24cfbbbea7bf5edb7c05..0c3710bd1fea9e285b94a810d52afd79f9c26ace 100644
--- a/include/core/SkTypeface.h
+++ b/include/core/SkTypeface.h
@@ -339,7 +339,8 @@ private:
uint32_t glyphIDsCount = 0) const;
private:
- static void create_default_typeface(Style style);
+ static SkTypeface* CreateDefault(int style);
reed1 2014/05/30 20:09:25 add comment why we pass int instead of Style
mtklein 2014/05/30 20:12:05 Done.
+ static void DeleteDefault(SkTypeface*);
SkFontID fUniqueID;
Style fStyle;
« no previous file with comments | « include/core/SkPathRef.h ('k') | include/ports/SkFontMgr.h » ('j') | src/core/SkGlyphCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698