Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: content/browser/child_process_launcher_helper_posix.cc

Issue 2713993003: Revert of build: Enable auto raw pointer deduction check on linux. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_snippets/remote/remote_suggestion_unittest.cc ('k') | media/base/demuxer_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « components/ntp_snippets/remote/remote_suggestion_unittest.cc ('k') | media/base/demuxer_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698