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

Unified Diff: skia/ext/fontmgr_default_win.h

Issue 2618443002: Remove use of legacy SkFontMgr factories. (Closed)
Patch Set: Forward declare when possible. Created 3 years, 11 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 | « skia/ext/fontmgr_default_linux.cc ('k') | skia/ext/fontmgr_default_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/fontmgr_default_win.h
diff --git a/skia/ext/fontmgr_default_win.h b/skia/ext/fontmgr_default_win.h
index cea72c1bd2ad9cf17926a09c212287867eba7276..a41d94ad5130ca7719963546e23affe690552988 100644
--- a/skia/ext/fontmgr_default_win.h
+++ b/skia/ext/fontmgr_default_win.h
@@ -8,7 +8,8 @@
#include "third_party/skia/include/core/SkTypes.h"
class SkFontMgr;
+template <typename T> class sk_sp;
-void SK_API SetDefaultSkiaFactory(SkFontMgr* fontmgr);
+void SK_API SetDefaultSkiaFactory(sk_sp<SkFontMgr> fontmgr);
#endif // SKIA_EXT_FONTMGR_DEFAULT_WIN_H_
« no previous file with comments | « skia/ext/fontmgr_default_linux.cc ('k') | skia/ext/fontmgr_default_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698