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

Unified Diff: content/renderer/renderer_main_platform_delegate_win.cc

Issue 2387373003: Initialize the font proxy even when not using the sandbox (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main_platform_delegate_win.cc
diff --git a/content/renderer/renderer_main_platform_delegate_win.cc b/content/renderer/renderer_main_platform_delegate_win.cc
index 20efc6dc0319238ce80218cdc6977775b375d2c2..74ddc56dde3ac79459756628e3d0323cb0568c26 100644
--- a/content/renderer/renderer_main_platform_delegate_win.cc
+++ b/content/renderer/renderer_main_platform_delegate_win.cc
@@ -52,9 +52,10 @@ void RendererMainPlatformDelegate::PlatformInitialize() {
// cached and there's no more need to access the registry. If the sandbox
// is disabled, we don't have to make this dummy call.
std::unique_ptr<icu::TimeZone> zone(icu::TimeZone::createDefault());
-
- InitializeDWriteFontProxy();
}
+
+ InitializeDWriteFontProxy();
+
// TODO(robliao): This should use WebScreenInfo. See http://crbug.com/604555.
blink::WebFontRendering::setDeviceScaleFactor(display::win::GetDPIScale());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698