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

Unified Diff: remoting/host/win/rdp_client.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/host/win/launch_process_with_token.cc ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_client.cc
diff --git a/remoting/host/win/rdp_client.cc b/remoting/host/win/rdp_client.cc
index 763cfa26b3d72becdee2cb5872791cec129f20f8..f41db108e959dcd658a7282db7783a7dd1781d97 100644
--- a/remoting/host/win/rdp_client.cc
+++ b/remoting/host/win/rdp_client.cc
@@ -166,7 +166,7 @@ void RdpClient::Core::Disconnect() {
// The caller does not expect any notifications to be delivered after this
// point.
- event_handler_ = NULL;
+ event_handler_ = nullptr;
// Gracefully shutdown the RDP connection.
if (rdp_client_window_) {
@@ -200,7 +200,7 @@ void RdpClient::Core::OnDisconnected() {
// Delay window destruction until no ActiveX control's code is on the stack.
ui_task_runner_->DeleteSoon(FROM_HERE, rdp_client_window_.release());
- self_ = NULL;
+ self_ = nullptr;
}
RdpClient::Core::~Core() {
@@ -228,7 +228,7 @@ void RdpClient::Core::NotifyClosed() {
if (event_handler_) {
RdpClient::EventHandler* event_handler = event_handler_;
- event_handler_ = NULL;
+ event_handler_ = nullptr;
event_handler->OnRdpClosed();
}
}
« no previous file with comments | « remoting/host/win/launch_process_with_token.cc ('k') | remoting/host/win/rdp_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698