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

Unified Diff: util/mac/mac_util.cc

Issue 656703002: Convert NULL to nullptr (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Fix 80-column violations 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 | « util/mac/mac_util.h ('k') | util/mac/mach_o_image_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mac/mac_util.cc
diff --git a/util/mac/mac_util.cc b/util/mac/mac_util.cc
index da6930c7ec210059e2f7184b76617ddb40f7b168..a792e51197464a30574e4dbea5d79fc91b0fbc24 100644
--- a/util/mac/mac_util.cc
+++ b/util/mac/mac_util.cc
@@ -99,14 +99,14 @@ CFDictionaryRef TryCFCopySystemVersionDictionary() {
if (_CFCopySystemVersionDictionary) {
return _CFCopySystemVersionDictionary();
}
- return NULL;
+ return nullptr;
}
CFDictionaryRef TryCFCopyServerVersionDictionary() {
if (_CFCopyServerVersionDictionary) {
return _CFCopyServerVersionDictionary();
}
- return NULL;
+ return nullptr;
}
const void* TryCFDictionaryGetValue(CFDictionaryRef dictionary,
@@ -114,7 +114,7 @@ const void* TryCFDictionaryGetValue(CFDictionaryRef dictionary,
if (value) {
return CFDictionaryGetValue(dictionary, value);
}
- return NULL;
+ return nullptr;
}
// Converts |version| to a triplet of version numbers on behalf of
« no previous file with comments | « util/mac/mac_util.h ('k') | util/mac/mach_o_image_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698