Chromium Code Reviews| Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
| diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| index e5cace20539872733412e446ac3bdace731d27cd..c387d68118ffc6f6abbc17f78e11eeca58d820ce 100644 |
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
| @@ -365,17 +365,6 @@ void BrowserGpuChannelHostFactory::GpuChannelEstablished() { |
| } |
| // static |
| -void BrowserGpuChannelHostFactory::AddFilterOnIO( |
| - int host_id, |
| - scoped_refptr<IPC::MessageFilter> filter) { |
| - DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| - |
| - GpuProcessHost* host = GpuProcessHost::FromID(host_id); |
| - if (host) |
| - host->AddFilter(filter.get()); |
|
piman
2017/04/06 20:51:14
nit: can we remove GpuProcessHost::AddFilter now?
sadrul
2017/04/07 02:16:12
Done.
|
| -} |
| - |
| -// static |
| void BrowserGpuChannelHostFactory::InitializeShaderDiskCacheOnIO( |
| int gpu_client_id, |
| const base::FilePath& cache_dir) { |