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

Unified Diff: blimp/client/app/linux/blimp_main.cc

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 | « no previous file | content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/linux/blimp_main.cc
diff --git a/blimp/client/app/linux/blimp_main.cc b/blimp/client/app/linux/blimp_main.cc
index febfbb8a9edf1856578016b85165943a6037921e..583db1152eeb378451ead2123bf9f185f9197f56 100644
--- a/blimp/client/app/linux/blimp_main.cc
+++ b/blimp/client/app/linux/blimp_main.cc
@@ -63,7 +63,7 @@ std::string GetAndroidFontsDirectory() {
return android_fonts_dir;
}
-SkFontMgr* CreateAndroidFontMgr(std::string android_fonts_dir) {
+sk_sp<SkFontMgr> CreateAndroidFontMgr(std::string android_fonts_dir) {
SkFontMgr_Android_CustomFonts custom;
custom.fSystemFontUse =
SkFontMgr_Android_CustomFonts::SystemFontUse::kOnlyCustom;
« no previous file with comments | « no previous file | content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698