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

Unified Diff: content/app/content_main_runner.cc

Issue 65193003: Clear SingleProcess and InProcessGPU logic. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: WIP: diable kSingleProcess and kInProcessGPU in chrome multiple dll browser. 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/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index da27afaaf017aa36d9ca79c77b98cbf032ac72f3..cfed74ac6fc9806e2acf2aabe1dd801974bb2e28 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -437,6 +437,11 @@ int RunNamedProcessTypeMain(
CreateInProcessRendererThread);
GpuProcessHost::RegisterGpuMainThreadFactory(
CreateInProcessGpuThread);
+#else
+ // SingleProcess and InProcessGPU mode are not supported
+ // in multiple-dll mode currently.
+ DCHECK(!(command_line.HasSwitch(switches::kSingleProcess) ||
+ command_line.HasSwitch(switches::kInProcessGPU)));
#endif
for (size_t i = 0; i < arraysize(kMainFunctions); ++i) {

Powered by Google App Engine
This is Rietveld 408576698