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

Unified Diff: webrtc/api/proxy.h

Issue 2715103002: Replace NULL with nullptr or null in webrtc/api/. (Closed)
Patch Set: merge with master 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/api/peerconnectioninterface.h ('k') | webrtc/api/statstypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/proxy.h
diff --git a/webrtc/api/proxy.h b/webrtc/api/proxy.h
index 46c424d927ffb868d4a67f9c0b0a0eca40019127..862de876557155da1d22da1824223b94a68e3600 100644
--- a/webrtc/api/proxy.h
+++ b/webrtc/api/proxy.h
@@ -128,7 +128,7 @@ class SynchronousMethodCall
void Invoke(const rtc::Location& posted_from, rtc::Thread* t) {
if (t->IsCurrent()) {
- proxy_->OnMessage(NULL);
+ proxy_->OnMessage(nullptr);
} else {
e_.reset(new rtc::Event(false, false));
t->Post(posted_from, this, 0);
@@ -137,7 +137,10 @@ class SynchronousMethodCall
}
private:
- void OnMessage(rtc::Message*) { proxy_->OnMessage(NULL); e_->Set(); }
+ void OnMessage(rtc::Message*) {
+ proxy_->OnMessage(nullptr);
+ e_->Set();
+ }
std::unique_ptr<rtc::Event> e_;
rtc::MessageHandler* proxy_;
};
« no previous file with comments | « webrtc/api/peerconnectioninterface.h ('k') | webrtc/api/statstypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698