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

Unified Diff: webrtc/base/weak_ptr.cc

Issue 2718663005: Replace NULL with nullptr or null in webrtc/base/. (Closed)
Patch Set: Manually fixing a few things. 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/base/weak_ptr.cc
diff --git a/webrtc/base/weak_ptr.cc b/webrtc/base/weak_ptr.cc
index 4eef7eacc579e4fb6a75711f4c01587e43259730..8a07a87b7d0dcdd72c5c678bcc0c5f6cbd725938 100644
--- a/webrtc/base/weak_ptr.cc
+++ b/webrtc/base/weak_ptr.cc
@@ -73,7 +73,7 @@ void WeakReferenceOwner::Invalidate() {
RTC_DCHECK(checker_.CalledSequentially());
if (flag_.get()) {
flag_->Invalidate();
- flag_ = NULL;
+ flag_ = nullptr;
}
}

Powered by Google App Engine
This is Rietveld 408576698