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

Unified Diff: skia/ext/fontmgr_default_linux.h

Issue 2618443002: Remove use of legacy SkFontMgr factories. (Closed)
Patch Set: Another include. 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
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..dc39b139e0329f34351b7c65ccfcd0cfca206968 100644
--- a/skia/ext/fontmgr_default_linux.h
+++ b/skia/ext/fontmgr_default_linux.h
@@ -5,10 +5,11 @@
#ifndef SKIA_EXT_FONTMGR_DEFAULT_LINUX_H_
#define SKIA_EXT_FONTMGR_DEFAULT_LINUX_H_
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkTypes.h"
class SkFontMgr;
-void SK_API SetDefaultSkiaFactory(SkFontMgr* fontmgr);
+void SK_API SetDefaultSkiaFactory(sk_sp<SkFontMgr> fontmgr);
#endif // SKIA_EXT_FONTMGR_DEFAULT_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698