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

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

Issue 65193003: Clear SingleProcess and InProcessGPU logic. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 8b3cd3a7c6a5aee76b2e238b2700a29ec8949cb4..00818726d1cb32d44bab2b5f6955571130a3d4d5 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -583,7 +583,8 @@ bool GpuProcessHost::Init() {
if (channel_id.empty())
return false;
- if (in_process_ && g_gpu_main_thread_factory) {
+ if (in_process_) {
+ CHECK(g_gpu_main_thread_factory);
piman 2013/11/07 22:09:52 Should be DCHECK.
dshwang 2013/11/08 10:05:56 yes. but it will crash in next line. in_process_gp
CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kDisableGpuWatchdog);

Powered by Google App Engine
This is Rietveld 408576698