| Index: chrome/browser/gpu_process_host.cc
|
| ===================================================================
|
| --- chrome/browser/gpu_process_host.cc (revision 70108)
|
| +++ chrome/browser/gpu_process_host.cc (working copy)
|
| @@ -132,13 +132,14 @@
|
| return BrowserChildProcessHost::Send(msg);
|
| }
|
|
|
| -void GpuProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| +bool GpuProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| if (message.routing_id() == MSG_ROUTING_CONTROL)
|
| - OnControlMessageReceived(message);
|
| - else
|
| - RouteOnUIThread(message);
|
| + return OnControlMessageReceived(message);
|
| +
|
| + RouteOnUIThread(message);
|
| + return true;
|
| }
|
|
|
| void GpuProcessHost::EstablishGpuChannel(int renderer_id,
|
| @@ -178,7 +179,7 @@
|
|
|
| GpuProcessHost::SynchronizationRequest::~SynchronizationRequest() {}
|
|
|
| -void GpuProcessHost::OnControlMessageReceived(const IPC::Message& message) {
|
| +bool GpuProcessHost::OnControlMessageReceived(const IPC::Message& message) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| IPC_BEGIN_MESSAGE_MAP(GpuProcessHost, message)
|
| @@ -202,6 +203,8 @@
|
| // handle it.
|
| IPC_MESSAGE_UNHANDLED(RouteOnUIThread(message))
|
| IPC_END_MESSAGE_MAP()
|
| +
|
| + return true;
|
| }
|
|
|
| void GpuProcessHost::OnChannelEstablished(
|
|
|