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

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

Issue 8759013: Dispatch the Windows font caching IPCs in one filter. This avoids having the code that calls thos... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/child_process_host.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
===================================================================
--- content/browser/renderer_host/render_process_host_impl.cc (revision 112358)
+++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
@@ -104,6 +104,7 @@
#if defined(OS_WIN)
#include <objbase.h>
#include "base/synchronization/waitable_event.h"
+#include "content/common/font_cache_dispatcher_win.h"
#endif
#include "third_party/skia/include/core/SkBitmap.h"
@@ -506,6 +507,8 @@
GetBrowserContext()->GetDatabaseTracker()));
#if defined(OS_MACOSX)
channel_->AddFilter(new TextInputClientMessageFilter(GetID()));
+#elif defined(OS_WIN)
+ channel_->AddFilter(new FontCacheDispatcher());
#endif
SocketStreamDispatcherHost* socket_stream_dispatcher_host =
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698