Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 1b8e1d95be8ad8cefea7bea77ab60a512b4c22bf..e0390bf9f991829f38430ce7ecd5e9ff180f73de 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -600,10 +600,9 @@ void ApplyBlinkSettings(const base::CommandLine& command_line, |
if (!command_line.HasSwitch(switches::kBlinkSettings)) |
return; |
- std::vector<std::string> blink_settings; |
- base::SplitString( |
- command_line.GetSwitchValueASCII(switches::kBlinkSettings), ',', |
- &blink_settings); |
+ std::vector<std::string> blink_settings = base::SplitString( |
+ command_line.GetSwitchValueASCII(switches::kBlinkSettings), |
+ ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
for (const std::string& setting : blink_settings) { |
size_t pos = setting.find('='); |
settings->setFromStrings( |