| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index d542df968b7140073a19f67cdaa0cc703ac86827..8abfd8a88cd499b16e0ff240017b0d60b3480664 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -626,10 +626,6 @@ bool GpuProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| OnDidDestroyOffscreenContext)
|
| IPC_MESSAGE_HANDLER(GpuHostMsg_GpuMemoryUmaStats,
|
| OnGpuMemoryUmaStatsReceived)
|
| -#if defined(OS_MACOSX)
|
| - IPC_MESSAGE_HANDLER_GENERIC(GpuHostMsg_AcceleratedSurfaceBuffersSwapped,
|
| - OnAcceleratedSurfaceBuffersSwapped(message))
|
| -#endif
|
| IPC_MESSAGE_HANDLER(GpuHostMsg_DestroyChannel, OnDestroyChannel)
|
| IPC_MESSAGE_HANDLER(GpuHostMsg_CacheShader, OnCacheShader)
|
| #if defined(OS_WIN)
|
| @@ -915,13 +911,6 @@ void GpuProcessHost::OnGpuMemoryUmaStatsReceived(
|
| uma_memory_stats_ = stats;
|
| }
|
|
|
| -#if defined(OS_MACOSX)
|
| -void GpuProcessHost::OnAcceleratedSurfaceBuffersSwapped(
|
| - const IPC::Message& message) {
|
| - RenderWidgetResizeHelper::PostGpuProcessMsg(host_id_, message);
|
| -}
|
| -#endif
|
| -
|
| void GpuProcessHost::OnProcessLaunched() {
|
| UMA_HISTOGRAM_TIMES("GPU.GPUProcessLaunchTime",
|
| base::TimeTicks::Now() - init_start_time_);
|
|
|