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"); |