From 21c8131742252dc346bb20c8d130fc13b9a8f2be Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 10 Jan 2014 19:49:43 +0000 Subject: [PATCH] Send the kProductVersion flag to all processes (issue #1149). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1561 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/browser/content_browser_client.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libcef/browser/content_browser_client.cc b/libcef/browser/content_browser_client.cc index 318e7bebc..ac6bbb396 100644 --- a/libcef/browser/content_browser_client.cc +++ b/libcef/browser/content_browser_client.cc @@ -605,17 +605,18 @@ void CefContentBrowserClient::AppendExtraCommandLineSwitches( // Propagate the following switches to all command lines (along with any // associated values) if present in the browser command line. static const char* const kSwitchNames[] = { +#if !defined(OS_WIN) + switches::kCrashDumpsDir, +#endif + switches::kDisablePackLoading, + switches::kEnableCrashReporter, + switches::kEnableReleaseDcheck, switches::kLang, switches::kLocalesDirPath, switches::kLogFile, switches::kLogSeverity, - switches::kEnableReleaseDcheck, - switches::kDisablePackLoading, switches::kResourcesDirPath, - switches::kEnableCrashReporter, -#if !defined(OS_WIN) - switches::kCrashDumpsDir, -#endif + switches::kProductVersion, }; command_line->CopySwitchesFrom(browser_cmd, kSwitchNames, arraysize(kSwitchNames)); @@ -630,7 +631,6 @@ void CefContentBrowserClient::AppendExtraCommandLineSwitches( switches::kContextSafetyImplementation, switches::kEnableMediaStream, switches::kEnableSpeechInput, - switches::kProductVersion, switches::kUncaughtExceptionStackSize, }; command_line->CopySwitchesFrom(browser_cmd, kSwitchNames,