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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 209163002: Support DirectWrite with sandbox on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: roll out blink bits Created 6 years, 9 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/browser/renderer_host/render_message_filter.cc ('k') | content/common/sandbox_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 43929cb59401b5e1b3cdfa1965e80727037fc43d..b395c2089a007d6884e150a2f7000a30a843b147 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -764,7 +764,9 @@ void RenderProcessHostImpl::CreateMessageFilters() {
#if defined(OS_MACOSX)
AddFilter(new TextInputClientMessageFilter(GetID()));
#elif defined(OS_WIN)
- channel_->AddFilter(new FontCacheDispatcher());
+ // The FontCacheDispatcher is required only when we're using GDI rendering.
+ if (!ShouldUseDirectWrite())
+ channel_->AddFilter(new FontCacheDispatcher());
#elif defined(OS_ANDROID)
browser_demuxer_android_ = new BrowserDemuxerAndroid();
AddFilter(browser_demuxer_android_);
@@ -1223,7 +1225,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kChildCleanExit,
#endif
#if defined(OS_WIN)
- switches::kEnableDirectWrite,
switches::kEnableHighResolutionTime,
switches::kHighDPISupport,
#endif
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/sandbox_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698