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

Unified Diff: ash/test/display_manager_test_api.cc

Issue 1272823003: 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
« no previous file with comments | « ash/display/display_manager.cc ('k') | base/command_line.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/display_manager_test_api.cc
diff --git a/ash/test/display_manager_test_api.cc b/ash/test/display_manager_test_api.cc
index 77d88ec007e7139c0eb7ced216b99989d18793ca..9bad8917888e9360a067611362e96abc14066adf 100644
--- a/ash/test/display_manager_test_api.cc
+++ b/ash/test/display_manager_test_api.cc
@@ -34,8 +34,8 @@ std::vector<DisplayInfo> CreateDisplayInfoListFromString(
const std::string specs,
DisplayManager* display_manager) {
std::vector<DisplayInfo> display_info_list;
- std::vector<std::string> parts;
- base::SplitString(specs, ',', &parts);
+ std::vector<std::string> parts = base::SplitString(
+ specs, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
size_t index = 0;
DisplayManager::DisplayList list =
« no previous file with comments | « ash/display/display_manager.cc ('k') | base/command_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698