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

Unified Diff: content/child/font_warmup_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 | « content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc ('k') | content/child/font_warmup_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc ('k') | content/child/font_warmup_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698