| Index: content/browser/child_process_launcher_helper_posix.cc
|
| diff --git a/content/browser/child_process_launcher_helper_posix.cc b/content/browser/child_process_launcher_helper_posix.cc
|
| index f245ef2f83b9412e30714f6ae8165eae31f59ed4..dca99b27a3f820b0b3ce1df9964bd1562cc929e4 100644
|
| --- a/content/browser/child_process_launcher_helper_posix.cc
|
| +++ b/content/browser/child_process_launcher_helper_posix.cc
|
| @@ -27,12 +27,12 @@
|
| std::map<std::string, catalog::RequiredFileMap>;
|
|
|
| RequiredFilesByServiceMap& GetRequiredFilesByServiceMap() {
|
| - static auto* required_files_by_service = new RequiredFilesByServiceMap();
|
| + static auto required_files_by_service = new RequiredFilesByServiceMap();
|
| return *required_files_by_service;
|
| }
|
|
|
| std::map<std::string, std::string>& GetServiceNameByProcessTypeMap() {
|
| - static auto* service_name_resolver = new std::map<std::string, std::string>(
|
| + static auto service_name_resolver = new std::map<std::string, std::string>(
|
| {// The service names are defined in the JSON manifests, so we don't have
|
| // a constant accessible for them.
|
| // TODO(jcivelli): remove this map once the service name is accessible
|
| @@ -49,9 +49,9 @@
|
|
|
| base::PlatformFile OpenFileIfNecessary(const base::FilePath& path,
|
| base::MemoryMappedFile::Region* region) {
|
| - static auto* opened_files = new std::map<
|
| - base::FilePath,
|
| - std::pair<base::PlatformFile, base::MemoryMappedFile::Region>>;
|
| + static auto opened_files =
|
| + new std::map<base::FilePath, std::pair<base::PlatformFile,
|
| + base::MemoryMappedFile::Region>>;
|
|
|
| const auto& iter = opened_files->find(path);
|
| if (iter != opened_files->end()) {
|
|
|