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

Unified Diff: content/browser/service_worker/service_worker_browsertest.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/browser/service_worker/service_worker_browsertest.cc
diff --git a/content/browser/service_worker/service_worker_browsertest.cc b/content/browser/service_worker/service_worker_browsertest.cc
index ca2d440592867bba8341066408ddcd3901ead707..ca70f778c22a8f2575c60bd063ef7a41c164c047 100644
--- a/content/browser/service_worker/service_worker_browsertest.cc
+++ b/content/browser/service_worker/service_worker_browsertest.cc
@@ -1154,9 +1154,8 @@
// Console output is a pipe-delimited string, as:
// <event prototype>|<typeof waitUntil>
- std::vector<base::string16> event_properties =
- base::SplitString(console_output, base::string16(1, '|'),
- base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ std::vector<base::string16> event_properties;
+ base::SplitString(console_output, '|', &event_properties);
const base::string16::size_type num_properties = 2;
const base::string16 event_type = base::ASCIIToUTF16("SyncEvent");
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/service_worker/service_worker_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698