| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| ===================================================================
|
| --- content/browser/gpu/gpu_process_host_ui_shim.cc (revision 110645)
|
| +++ content/browser/gpu/gpu_process_host_ui_shim.cc (working copy)
|
| @@ -147,20 +147,6 @@
|
| return OnControlMessageReceived(message);
|
| }
|
|
|
| -#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
|
| -
|
| -void GpuProcessHostUIShim::SendToGpuHost(int host_id, IPC::Message* msg) {
|
| - GpuProcessHostUIShim* ui_shim = FromID(host_id);
|
| - if (!ui_shim) {
|
| - delete msg;
|
| - return;
|
| - }
|
| -
|
| - ui_shim->Send(msg);
|
| -}
|
| -
|
| -#endif
|
| -
|
| GpuProcessHostUIShim::~GpuProcessHostUIShim() {
|
| DCHECK(CalledOnValidThread());
|
| g_hosts_by_id.Pointer()->Remove(host_id_);
|
|
|