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

Unified Diff: webrtc/base/flags.h

Issue 2718663005: Replace NULL with nullptr or null in webrtc/base/. (Closed)
Patch Set: Fixing Windows and formatting issues. 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 | « webrtc/base/firewallsocketserver.cc ('k') | webrtc/base/flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/flags.h
diff --git a/webrtc/base/flags.h b/webrtc/base/flags.h
index 7a7148732e218410f0c16e511197010bef4bc93e..d6a871ed526e148bbcb80178f8968a4707c6f297 100644
--- a/webrtc/base/flags.h
+++ b/webrtc/base/flags.h
@@ -189,19 +189,19 @@ class FlagList {
public:
FlagList();
- // The NULL-terminated list of all flags. Traverse with Flag::next().
+ // The null-terminated list of all flags. Traverse with Flag::next().
static Flag* list() { return list_; }
- // If file != NULL, prints information for all flags defined in file;
- // otherwise prints information for all flags in all files. The current
- // flag value is only printed if print_current_value is set.
+ // If file != nullptr, prints information for all flags defined in file;
+ // otherwise prints information for all flags in all files. The current flag
+ // value is only printed if print_current_value is set.
static void Print(const char* file, bool print_current_value);
- // Lookup a flag by name. Returns the matching flag or NULL.
+ // Lookup a flag by name. Returns the matching flag or null.
static Flag* Lookup(const char* name);
// Helper function to parse flags: Takes an argument arg and splits it into
- // a flag name and flag value (or NULL if they are missing). is_bool is set
+ // a flag name and flag value (or null if they are missing). is_bool is set
// if the arg started with "-no" or "--no". The buffer may be used to NUL-
// terminate the name, it must be large enough to hold any possible name.
static void SplitArgument(const char* arg,
« no previous file with comments | « webrtc/base/firewallsocketserver.cc ('k') | webrtc/base/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698