Index: content/child/font_warmup_win.h |
diff --git a/content/child/font_warmup_win.h b/content/child/font_warmup_win.h |
index 3a89ef2fcc664b03d9720713694029386e2a084a..d62ce5fbb51b8545d7b5240f29dd080c38562e7d 100644 |
--- a/content/child/font_warmup_win.h |
+++ b/content/child/font_warmup_win.h |
@@ -12,6 +12,7 @@ |
#include "content/common/content_export.h" |
class SkFontMgr; |
+template <typename T> class sk_sp; |
namespace content { |
@@ -39,7 +40,8 @@ CONTENT_EXPORT void ResetEmulatedGdiHandlesForTesting(); |
// Sets the pre-sandbox warmup font manager directly. This should only be used |
// for testing the implementation. |
-CONTENT_EXPORT void SetPreSandboxWarmupFontMgrForTesting(SkFontMgr* fontmgr); |
+CONTENT_EXPORT void SetPreSandboxWarmupFontMgrForTesting( |
+ sk_sp<SkFontMgr> fontmgr); |
// Directwrite connects to the font cache service to retrieve information about |
// fonts installed on the system etc. This works well outside the sandbox and |