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..276f7c774d70e0813bed41fd39593deeee8652c2 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_ReleaseCachedFonts, |
+ OnReleaseCachedFonts) |
#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::OnReleaseCachedFonts(int pid) { |
+ ReleaseCachedFonts(pid); |
} |
#endif // OS_WIN |