| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| index e753f1aeeb4ad408ca8f90a61f17ba764bbcdb2c..1a910cbc1129d1ad9daaa60600d2136bbf2c05f7 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -135,7 +135,8 @@ bool GpuProcessHostUIShim::OnMessageReceived(const IPC::Message& message) {
|
| if (message.routing_id() != MSG_ROUTING_CONTROL)
|
| return false;
|
|
|
| - return OnControlMessageReceived(message);
|
| + NOTREACHED() << "Invalid message with type = " << message.type();
|
| + return true;
|
| }
|
|
|
| GpuProcessHostUIShim::~GpuProcessHostUIShim() {
|
| @@ -143,28 +144,6 @@ GpuProcessHostUIShim::~GpuProcessHostUIShim() {
|
| g_hosts_by_id.Pointer()->Remove(host_id_);
|
| }
|
|
|
| -bool GpuProcessHostUIShim::OnControlMessageReceived(
|
| - const IPC::Message& message) {
|
| - DCHECK(CalledOnValidThread());
|
| -
|
| - IPC_BEGIN_MESSAGE_MAP(GpuProcessHostUIShim, message)
|
| - IPC_MESSAGE_HANDLER(GpuHostMsg_GraphicsInfoCollected,
|
| - OnGraphicsInfoCollected)
|
| - IPC_MESSAGE_UNHANDLED_ERROR()
|
| - IPC_END_MESSAGE_MAP()
|
| -
|
| - return true;
|
| -}
|
| -
|
| -void GpuProcessHostUIShim::OnGraphicsInfoCollected(
|
| - const gpu::GPUInfo& gpu_info) {
|
| - // OnGraphicsInfoCollected is sent back after the GPU process successfully
|
| - // initializes GL.
|
| - TRACE_EVENT0("test_gpu", "OnGraphicsInfoCollected");
|
| -
|
| - GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info);
|
| -}
|
| -
|
| #if defined(OS_ANDROID)
|
| // static
|
| void GpuProcessHostUIShim::RegisterUIThreadMojoInterfaces(
|
|
|