| 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 a7c5b20bd8d8c2127622a58d2b07a9f2393802ce..c282a401908e594964c5b43c97e2ab85ec9eaf61 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -196,8 +196,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived(
|
| OnGraphicsInfoCollected)
|
| IPC_MESSAGE_HANDLER(GpuHostMsg_VideoMemoryUsageStats,
|
| OnVideoMemoryUsageStatsReceived);
|
| - IPC_MESSAGE_HANDLER(GpuHostMsg_AddSubscription, OnAddSubscription);
|
| - IPC_MESSAGE_HANDLER(GpuHostMsg_RemoveSubscription, OnRemoveSubscription);
|
|
|
| IPC_MESSAGE_UNHANDLED_ERROR()
|
| IPC_END_MESSAGE_MAP()
|
| @@ -278,20 +276,4 @@ void GpuProcessHostUIShim::OnVideoMemoryUsageStatsReceived(
|
| video_memory_usage_stats);
|
| }
|
|
|
| -void GpuProcessHostUIShim::OnAddSubscription(int32_t process_id,
|
| - unsigned int target) {
|
| - RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
|
| - if (rph) {
|
| - rph->OnAddSubscription(target);
|
| - }
|
| -}
|
| -
|
| -void GpuProcessHostUIShim::OnRemoveSubscription(int32_t process_id,
|
| - unsigned int target) {
|
| - RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
|
| - if (rph) {
|
| - rph->OnRemoveSubscription(target);
|
| - }
|
| -}
|
| -
|
| } // namespace content
|
|
|