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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2773373002: gpu: Disconnect from host if gpu initialization failed. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 715597db0e30489036eb3b67a4ec8ceea7a42cdd..7e2995ee5cc00e0db2b140a6de028031f9999c37 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -280,6 +280,7 @@ void GpuChildThread::CreateGpuService(
if (dead_on_arrival_) {
LOG(ERROR) << "Exiting GPU process due to errors during initialization";
+ gpu_service_.reset();
base::MessageLoop::current()->QuitWhenIdle();
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698