Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5965)

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.cc

Issue 2801943002: gpu: Some code cleanups. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/browser/gpu/gpu_process_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/browser/gpu/gpu_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698