diff options
Diffstat (limited to 'components/favicon_base')
-rw-r--r-- | components/favicon_base/fallback_icon_url_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/favicon_base/fallback_icon_url_parser.cc b/components/favicon_base/fallback_icon_url_parser.cc index ba9f2321..8855695b 100644 --- a/components/favicon_base/fallback_icon_url_parser.cc +++ b/components/favicon_base/fallback_icon_url_parser.cc @@ -74,8 +74,8 @@ bool ParsedFallbackIconPath::ParseSpecs( DCHECK(size); DCHECK(style); - std::vector<std::string> tokens; - base::SplitStringDontTrim(specs_str, ',', &tokens); + std::vector<std::string> tokens = base::SplitString( + specs_str, ",", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL); if (tokens.size() != 5) // Force "," for empty fields. return false; |