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

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

Issue 1278973003: Revert of Update SplitString calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 1cd3e2f48dc0a33707c9239ef2029628c17712d6..6719010a720e11bc25b9f2cf5e744891b5cb1095 100644
--- a/content/shell/renderer/layout_test/blink_test_helpers.cc
+++ b/content/shell/renderer/layout_test/blink_test_helpers.cc
@@ -126,9 +126,10 @@
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kRegisterFontFiles)) {
- files = base::SplitString(
+ base::SplitString(
command_line.GetSwitchValueASCII(switches::kRegisterFontFiles),
- ";", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ ';',
+ &files);
}
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