| Index: gin/modules/file_module_provider.cc
|
| diff --git a/gin/modules/file_module_provider.cc b/gin/modules/file_module_provider.cc
|
| index b8465ae6368ba61f38045feb04d3f82d96632266..1568378ee604240cfb1a144fe772c89b59fc0d07 100644
|
| --- a/gin/modules/file_module_provider.cc
|
| +++ b/gin/modules/file_module_provider.cc
|
| @@ -20,8 +20,8 @@ void AttempToLoadModule(const base::WeakPtr<Runner>& runner,
|
| if (!runner)
|
| return;
|
|
|
| - std::vector<std::string> components;
|
| - base::SplitString(id, '/', &components);
|
| + std::vector<std::string> components = base::SplitString(
|
| + id, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
|
|
| base::FilePath path;
|
| for (size_t i = 0; i < components.size(); ++i) {
|
|
|