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 9c77f8abec4ec198d70b8f60d9b8688aa16528bc..3ce2724f2e4fbc5906ac62e6b57b94c68f0db83d 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -174,14 +174,6 @@ void BrowserGpuChannelHostFactory::EstablishRequest::Cancel() { |
finished_ = true; |
} |
-void BrowserGpuChannelHostFactory::CloseChannel() { |
- DCHECK(instance_); |
- if (instance_->gpu_channel_) { |
- instance_->gpu_channel_->DestroyChannel(); |
- instance_->gpu_channel_ = nullptr; |
- } |
-} |
- |
void BrowserGpuChannelHostFactory::Initialize(bool establish_gpu_channel) { |
DCHECK(!instance_); |
instance_ = new BrowserGpuChannelHostFactory(); |