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

Unified Diff: content/public/renderer/render_font_warmup_win.cc

Issue 354023007: Use DirectWrite to populate list of avalible fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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: content/public/renderer/render_font_warmup_win.cc
diff --git a/content/public/renderer/render_font_warmup_win.cc b/content/public/renderer/render_font_warmup_win.cc
index 51745422184454b4cfd2abe69f6057d0b7fe3441..bdd5890ddba94a2726d9a54cc94394b6294f0f70 100644
--- a/content/public/renderer/render_font_warmup_win.cc
+++ b/content/public/renderer/render_font_warmup_win.cc
@@ -15,8 +15,6 @@
namespace content {
-namespace {
-
SkFontMgr* g_warmup_fontmgr = NULL;
scottmg 2014/06/26 20:13:38 I don't think it's a great idea to make another of
eae 2014/06/26 20:58:24 That makes sense. Any idea where this code should
scottmg 2014/06/26 21:05:17 Yeah, I think I wouldn't bother sharing with this
// Windows-only DirectWrite support. These warm up the DirectWrite paths
@@ -48,8 +46,6 @@ void CreateDirectWriteFactory(IDWriteFactory** factory) {
reinterpret_cast<IUnknown**>(factory))));
}
-} // namespace
-
void DoPreSandboxWarmupForTypeface(SkTypeface* typeface) {
SkPaint paint_warmup;
paint_warmup.setTypeface(typeface);
« content/common/font_list_win.cc ('K') | « content/public/renderer/render_font_warmup_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698