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

Unified Diff: webrtc/base/asyncinvoker.cc

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 | « no previous file | webrtc/base/asyncinvoker-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asyncinvoker.cc
diff --git a/webrtc/base/asyncinvoker.cc b/webrtc/base/asyncinvoker.cc
index aa65499c960cc268fb658eccae54cbb49083544d..a143e25f19341bd2d3368c991aca8ab9c1e4d418 100644
--- a/webrtc/base/asyncinvoker.cc
+++ b/webrtc/base/asyncinvoker.cc
@@ -147,8 +147,8 @@ void NotifyingAsyncClosureBase::CancelCallback() {
// destructor of the dying object here by waiting until the callback
// is done triggering.
CritScope cs(&crit_);
- // calling_thread_ == NULL means do not trigger the callback.
- calling_thread_ = NULL;
+ // calling_thread_ == nullptr means do not trigger the callback.
+ calling_thread_ = nullptr;
}
} // namespace rtc
« no previous file with comments | « no previous file | webrtc/base/asyncinvoker-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698