Index: content/shell/renderer/layout_test/blink_test_helpers.cc |
diff --git a/content/shell/renderer/layout_test/blink_test_helpers.cc b/content/shell/renderer/layout_test/blink_test_helpers.cc |
index 6719010a720e11bc25b9f2cf5e744891b5cb1095..1cd3e2f48dc0a33707c9239ef2029628c17712d6 100644 |
--- a/content/shell/renderer/layout_test/blink_test_helpers.cc |
+++ b/content/shell/renderer/layout_test/blink_test_helpers.cc |
@@ -126,10 +126,9 @@ std::vector<std::string> GetSideloadFontFiles() { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kRegisterFontFiles)) { |
- base::SplitString( |
+ files = base::SplitString( |
command_line.GetSwitchValueASCII(switches::kRegisterFontFiles), |
- ';', |
- &files); |
+ ";", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
} |
return files; |
} |