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

Unified Diff: content/common/content_ipc_logging.cc

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors Created 6 years, 2 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 | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | content/common/cursors/webcursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_ipc_logging.cc
diff --git a/content/common/content_ipc_logging.cc b/content/common/content_ipc_logging.cc
index 682c422416331042ce9f947a9ddcb6b925196237..5720fb246f56243dbfaea4021301ccb2205a6a26 100644
--- a/content/common/content_ipc_logging.cc
+++ b/content/common/content_ipc_logging.cc
@@ -27,7 +27,7 @@ base::LazyInstance<base::hash_map<uint32, LogFunction> >::Leaky
} // namespace
void RegisterIPCLogger(uint32 msg_id, LogFunction logger) {
- if (g_log_function_mapping == NULL)
+ if (g_log_function_mapping == nullptr)
IPC::Logging::set_log_function_map(g_log_function_mapping.Pointer());
g_log_function_mapping.Get()[msg_id] = logger;
}
« no previous file with comments | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | content/common/cursors/webcursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698