| Index: chrome/browser/ui/webui/extensions/extension_icon_source.cc
|
| diff --git a/chrome/browser/ui/webui/extensions/extension_icon_source.cc b/chrome/browser/ui/webui/extensions/extension_icon_source.cc
|
| index aa4fc2edf5282ba02e410c591d7a50a379aef6c8..2b40ccdc845c1a02295a2ae3dfd604e3402c79b9 100644
|
| --- a/chrome/browser/ui/webui/extensions/extension_icon_source.cc
|
| +++ b/chrome/browser/ui/webui/extensions/extension_icon_source.cc
|
| @@ -278,9 +278,8 @@ bool ExtensionIconSource::ParseData(
|
| const content::URLDataSource::GotDataCallback& callback) {
|
| // Extract the parameters from the path by lower casing and splitting.
|
| std::string path_lower = base::StringToLowerASCII(path);
|
| - std::vector<std::string> path_parts;
|
| -
|
| - base::SplitString(path_lower, '/', &path_parts);
|
| + std::vector<std::string> path_parts = base::SplitString(
|
| + path_lower, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| if (path_lower.empty() || path_parts.size() < 3)
|
| return false;
|
|
|
|
|