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

Unified Diff: content/common/sandbox_linux/sandbox_linux.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/sandbox_linux/sandbox_linux.h ('k') | content/common/sandbox_mac_unittest_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/sandbox_linux.cc
diff --git a/content/common/sandbox_linux/sandbox_linux.cc b/content/common/sandbox_linux/sandbox_linux.cc
index 7c7c85615b33be2c82f42565f52ad169fadcca5b..87688028a7ed7c5533eb4cfd8565dc54c7728aa3 100644
--- a/content/common/sandbox_linux/sandbox_linux.cc
+++ b/content/common/sandbox_linux/sandbox_linux.cc
@@ -113,7 +113,7 @@ LinuxSandbox::LinuxSandbox()
yama_is_enforcing_(false),
setuid_sandbox_client_(sandbox::SetuidSandboxClient::Create())
{
- if (setuid_sandbox_client_ == NULL) {
+ if (setuid_sandbox_client_ == nullptr) {
LOG(FATAL) << "Failed to instantiate the setuid sandbox client.";
}
#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \
« no previous file with comments | « content/common/sandbox_linux/sandbox_linux.h ('k') | content/common/sandbox_mac_unittest_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698