Index: chrome/service/service_utility_process_host.cc |
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc |
index 0c4e88c03a49d5935afb7bbc34827030c762ffde..e82ecf2ab416c3fb8e43c36b1d85d3a0d309819a 100644 |
--- a/chrome/service/service_utility_process_host.cc |
+++ b/chrome/service/service_utility_process_host.cc |
@@ -145,6 +145,8 @@ bool ServiceUtilityProcessHost::OnMessageReceived(const IPC::Message& message) { |
IPC_BEGIN_MESSAGE_MAP_EX(ServiceUtilityProcessHost, message, msg_is_ok) |
#if defined(OS_WIN) // This hack is Windows-specific. |
IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_PreCacheFont, OnPreCacheFont) |
+ IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_ReleaseCachedFont, |
+ OnReleaseCachedFont) |
#endif |
IPC_MESSAGE_HANDLER( |
ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Succeeded, |
@@ -165,8 +167,12 @@ bool ServiceUtilityProcessHost::MessageForClient(const IPC::Message& message) { |
} |
#if defined(OS_WIN) // This hack is Windows-specific. |
-void ServiceUtilityProcessHost::OnPreCacheFont(const LOGFONT& font) { |
- PreCacheFont(font); |
+void ServiceUtilityProcessHost::OnPreCacheFont(const LOGFONT& font, int pid) { |
+ PreCacheFont(font, pid); |
+} |
+ |
+void ServiceUtilityProcessHost::OnReleaseCachedFont(int pid) { |
+ ReleaseCachedFont(pid); |
} |
#endif // OS_WIN |