| Index: extensions/browser/info_map.cc
|
| diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc
|
| index c97832ca4b29d8d86b1bff953726ab4a9c272c65..96558dc97a987039376095602c62525395b2e758 100644
|
| --- a/extensions/browser/info_map.cc
|
| +++ b/extensions/browser/info_map.cc
|
| @@ -167,7 +167,7 @@ bool InfoMap::MapUrlToLocalFilePath(const GURL& file_url,
|
| // handles a subset of the urls.
|
| if (!use_blocking_api) {
|
| if (file_url.SchemeIs(extensions::kExtensionScheme)) {
|
| - std::string path = file_url.path();
|
| + std::string path = file_url.path().as_string();
|
| base::TrimString(path, "/", &path); // Remove first slash
|
| *file_path = extension->path().AppendASCII(path);
|
| return true;
|
| @@ -175,7 +175,7 @@ bool InfoMap::MapUrlToLocalFilePath(const GURL& file_url,
|
| return false;
|
| }
|
|
|
| - std::string path = file_url.path();
|
| + std::string path = file_url.path().as_string();
|
| ExtensionResource resource;
|
|
|
| if (SharedModuleInfo::IsImportedPath(path)) {
|
|
|