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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 2806733002: aw: Fix multiprocess flag usage (Closed)
Patch Set: Also fix breakpad component so that single process microdump ptype is right. 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
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index cce1d6b245a28945a605dcefd6e1a4670f98ac2a..26d16d3dc96c5baef82f404de438d3f369739b54 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -206,10 +206,10 @@ void AwMainDelegate::PreSandboxStartup() {
global_descriptors->Get(kAndroidWebViewCrashSignalDescriptor);
}
if (process_type.empty()) {
- if (command_line.HasSwitch(switches::kSingleProcess)) {
- process_type = breakpad::kWebViewSingleProcessType;
- } else {
+ if (command_line.HasSwitch(switches::kWebViewSandboxedRenderer)) {
process_type = breakpad::kBrowserProcessType;
+ } else {
+ process_type = breakpad::kWebViewSingleProcessType;
}
}

Powered by Google App Engine
This is Rietveld 408576698