Index: content/browser/service_worker/service_worker_database.cc |
diff --git a/content/browser/service_worker/service_worker_database.cc b/content/browser/service_worker/service_worker_database.cc |
index b79894ea803f780814b0ea13c17f2e17424ff021..ddfcb742fea20c0e6e0d6f35dea7f8dad8c7b600 100644 |
--- a/content/browser/service_worker/service_worker_database.cc |
+++ b/content/browser/service_worker/service_worker_database.cc |
@@ -1214,9 +1214,8 @@ |
if (!RemovePrefix(itr->key().ToString(), kRegKeyPrefix, &key)) |
break; |
- std::vector<std::string> parts = |
- base::SplitString(key, std::string(1, kKeySeparator), |
- base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> parts; |
+ base::SplitStringDontTrim(key, kKeySeparator, &parts); |
if (parts.size() != 2) { |
status = STATUS_ERROR_CORRUPTED; |
HandleReadResult(FROM_HERE, status); |