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

Unified Diff: content/shell/renderer/layout_test/blink_test_helpers.cc

Issue 1274123003: Update SplitString calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no media changes Created 5 years, 4 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: 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;
}
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | extensions/browser/api/networking_private/networking_private_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698