Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index a8ec5aef68327f94c251f1f852ac3ab5f86ef428..e5ee0cfc3ae607054efc2437abbda88c43ac6914 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -323,12 +323,10 @@ MSVC_ENABLE_OPTIMIZE(); |
// specified on the command-line. Ownership is passed to the caller. |
base::win::MemoryPressureMonitor* CreateWinMemoryPressureMonitor( |
const base::CommandLine& parsed_command_line) { |
- std::vector<std::string> thresholds; |
- base::SplitString( |
+ std::vector<std::string> thresholds = base::SplitString( |
parsed_command_line.GetSwitchValueASCII( |
switches::kMemoryPressureThresholdsMb), |
- ',', |
- &thresholds); |
+ ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
int moderate_threshold_mb = 0; |
int critical_threshold_mb = 0; |