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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 1378353006: Implementation of dwrite font proxy and removal of dwrite font cache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More codereview fixes. Jumped the gun on previous patchset. Created 5 years, 1 month 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/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 794a5a108034f13d46a3dc8d49a14f746891e62d..4b74666bc68d79f6196298207e2b7aaac9aacc7b 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -31,6 +31,7 @@
#include "ui/base/ui_base_switches.h"
#if defined(OS_WIN)
+#include "content/browser/renderer_host/dwrite_font_proxy_message_filter_win.h"
#include "content/common/sandbox_win.h"
#include "sandbox/win/src/process_mitigations.h"
#include "sandbox/win/src/sandbox_policy.h"
@@ -293,6 +294,9 @@ PpapiPluginProcessHost::PpapiPluginProcessHost(
filter_ = new PepperMessageFilter();
process_->AddFilter(filter_.get());
process_->GetHost()->AddFilter(host_impl_->message_filter().get());
+#if defined(OS_WIN)
+ process_->AddFilter(new DWriteFontProxyMessageFilter());
+#endif
GetContentClient()->browser()->DidCreatePpapiPlugin(host_impl_.get());
« no previous file with comments | « chrome/utility/font_cache_handler_win.cc ('k') | content/browser/renderer_host/dwrite_font_proxy_message_filter_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698