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

Unified Diff: skia/ext/fontmgr_default_linux.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_android.cc ('k') | skia/ext/fontmgr_default_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/fontmgr_default_linux.h
diff --git a/skia/ext/fontmgr_default_linux.h b/skia/ext/fontmgr_default_linux.h
index b0ab6e78533eb5378d8bd0f36c54527ccd72ffdc..294200748966ccfe5701015b9fb771dd86b9d2fe 100644
--- a/skia/ext/fontmgr_default_linux.h
+++ b/skia/ext/fontmgr_default_linux.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_LINUX_H_
« no previous file with comments | « skia/ext/fontmgr_default_android.cc ('k') | skia/ext/fontmgr_default_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698