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

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

Issue 2233023003: content: Don't keep requesting the GpuChannelHost during shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer stop Created 4 years, 4 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/renderer_host/context_provider_factory_impl_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 759f936a067330a8345df7b06277116e435c64e8..64d7c495b7e253ab5c503a64800e5b344f620371 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -44,6 +44,8 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
static bool CanUseForTesting();
// Overridden from gpu::GpuChannelEstablishFactory:
+ // The factory will return a null GpuChannelHost in the callback during
+ // shutdown.
void EstablishGpuChannel(
const gpu::GpuChannelEstablishedCallback& callback) override;
scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync() override;
« no previous file with comments | « no previous file | content/browser/renderer_host/context_provider_factory_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698