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()); |