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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2817503005: gpu: Allow GpuProcessHostUIShim to leak during teardown. (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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 9b6275d08718b0a76e62990aa88fc9828b341ec6..90c2bf9f0eb3c663980e8d70414f8391f910f59d 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1209,14 +1209,6 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
system_stats_monitor_.reset();
- // Destroying the GpuProcessHostUIShims on the UI thread posts a task to
- // delete related objects on the GPU thread. This must be done before
- // stopping the GPU thread. The GPU thread will close IPC channels to renderer
- // processes so this has to happen before stopping the IO thread.
- {
- TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:GPUProcessHostShim");
- GpuProcessHostUIShim::DestroyAll();
- }
// Cancel pending requests and prevent new requests.
if (resource_dispatcher_host_) {
TRACE_EVENT0("shutdown",
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698