Index: chrome/browser/renderer_host/browser_render_process_host.cc |
=================================================================== |
--- chrome/browser/renderer_host/browser_render_process_host.cc (revision 42776) |
+++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy) |
@@ -773,7 +773,9 @@ |
IPC_MESSAGE_HANDLER(ViewHostMsg_ExtensionCloseChannel, |
OnExtensionCloseChannel) |
IPC_MESSAGE_HANDLER(ViewHostMsg_EstablishGpuChannel, |
- OnMsgEstablishGpuChannel) |
+ OnMsgEstablishGpuChannel) |
+ IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_SynchronizeGpu, |
+ OnMsgSynchronizeGpu) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SpellChecker_RequestDictionary, |
OnSpellCheckerRequestDictionary) |
IPC_MESSAGE_UNHANDLED_ERROR() |
@@ -982,6 +984,10 @@ |
GpuProcessHost::Get()->EstablishGpuChannel(id()); |
} |
+void BrowserRenderProcessHost::OnMsgSynchronizeGpu(IPC::Message* reply) { |
+ GpuProcessHost::Get()->Synchronize(id(), reply); |
+} |
+ |
void BrowserRenderProcessHost::OnSpellCheckerRequestDictionary() { |
if (profile()->GetSpellCheckHost()) { |
// The spellchecker initialization already started and finished; just send |