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

Unified Diff: base/process_util_mac.mm

Issue 9845017: Fix a few warnings that -Wnull-conversion of a future clang will complain about. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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 | « base/mac/scoped_ioobject.h ('k') | chrome/browser/mac/install_from_dmg.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_mac.mm
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm
index ae8e6f17c6e61dc959dc2bfd06678cf22eaf6824..3ab2fb6a314de1f29203320d9cca20104ec78cfe 100644
--- a/base/process_util_mac.mm
+++ b/base/process_util_mac.mm
@@ -834,8 +834,8 @@ void EnableTerminationOnOutOfMemory() {
ChromeMallocZone* purgeable_zone =
reinterpret_cast<ChromeMallocZone*>(GetPurgeableZone());
- vm_address_t page_start_default = NULL;
- vm_address_t page_start_purgeable = NULL;
+ vm_address_t page_start_default = 0;
+ vm_address_t page_start_purgeable = 0;
vm_size_t len_default = 0;
vm_size_t len_purgeable = 0;
if (zone_allocators_protected) {
« no previous file with comments | « base/mac/scoped_ioobject.h ('k') | chrome/browser/mac/install_from_dmg.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698