| Index: components/nacl/renderer/ppb_nacl_private_impl.cc
|
| diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| index 3d67fc701704b4437d67d557c5a8162e7b84c081..829dc175a35dc50414d86db446d61ed153cbceef 100644
|
| --- a/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| +++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| @@ -1557,12 +1557,9 @@ class PexeDownloader : public blink::WebURLLoaderClient {
|
| std::string cache_control =
|
| response.httpHeaderField("cache-control").utf8();
|
|
|
| - std::vector<std::string> values;
|
| - base::SplitString(cache_control, ',', &values);
|
| - for (std::vector<std::string>::const_iterator it = values.begin();
|
| - it != values.end();
|
| - ++it) {
|
| - if (base::StringToLowerASCII(*it) == "no-store")
|
| + for (const std::string& cur : base::SplitString(
|
| + cache_control, ",", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL)) {
|
| + if (base::StringToLowerASCII(cur) == "no-store")
|
| has_no_store_header = true;
|
| }
|
|
|
|
|