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

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

Issue 2686243002: content/ui[Android]: Remove ContextProviderFactory. (Closed)
Patch Set: more rebase Created 3 years, 10 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
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 7a3f339affb5f9a4bfbca5c99731a70f8887da40..b4ad576f6cc4fa4c3d7906eed324166249c31867 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
@@ -253,8 +253,6 @@ BrowserGpuChannelHostFactory::~BrowserGpuChannelHostFactory() {
DCHECK(IsMainThread());
if (pending_request_.get())
pending_request_->Cancel();
- for (size_t n = 0; n < established_callbacks_.size(); n++)
- established_callbacks_[n].Run(nullptr);
shutdown_event_->Signal();
if (gpu_channel_) {
gpu_channel_->DestroyChannel();
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest_unittest.cc ('k') | content/browser/gpu/gpu_ipc_browsertests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698