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

Unified Diff: webrtc/system_wrappers/source/condition_variable_event_win.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. 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
Index: webrtc/system_wrappers/source/condition_variable_event_win.cc
diff --git a/webrtc/system_wrappers/source/condition_variable_event_win.cc b/webrtc/system_wrappers/source/condition_variable_event_win.cc
index 535cbc5460f7c9eca49fe93df0d040ab86223be0..9ed5333819a790c24fc551898ecffbc6fca287f9 100644
--- a/webrtc/system_wrappers/source/condition_variable_event_win.cc
+++ b/webrtc/system_wrappers/source/condition_variable_event_win.cc
@@ -94,20 +94,20 @@ ConditionVariableEventWin::ConditionVariableEventWin() : eventID_(WAKEALL_0) {
InitializeCriticalSection(&num_waiters_crit_sect_);
- events_[WAKEALL_0] = CreateEvent(NULL, // no security attributes
- TRUE, // manual-reset, sticky event
- FALSE, // initial state non-signaled
- NULL); // no name for event
-
- events_[WAKEALL_1] = CreateEvent(NULL, // no security attributes
- TRUE, // manual-reset, sticky event
- FALSE, // initial state non-signaled
- NULL); // no name for event
-
- events_[WAKE] = CreateEvent(NULL, // no security attributes
- FALSE, // auto-reset, sticky event
- FALSE, // initial state non-signaled
- NULL); // no name for event
+ events_[WAKEALL_0] = CreateEvent(nullptr, // no security attributes
+ TRUE, // manual-reset, sticky event
+ FALSE, // initial state non-signaled
+ nullptr); // no name for event
+
+ events_[WAKEALL_1] = CreateEvent(nullptr, // no security attributes
+ TRUE, // manual-reset, sticky event
+ FALSE, // initial state non-signaled
+ nullptr); // no name for event
+
+ events_[WAKE] = CreateEvent(nullptr, // no security attributes
+ FALSE, // auto-reset, sticky event
+ FALSE, // initial state non-signaled
+ nullptr); // no name for event
}
ConditionVariableEventWin::~ConditionVariableEventWin() {

Powered by Google App Engine
This is Rietveld 408576698