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

Unified Diff: webrtc/base/firewallsocketserver.h

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 | « webrtc/base/fileutils_unittest.cc ('k') | webrtc/base/firewallsocketserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/firewallsocketserver.h
diff --git a/webrtc/base/firewallsocketserver.h b/webrtc/base/firewallsocketserver.h
index 26fc75ec93a7adc12323277404cb26f0633e8ae1..95ff039623a2800a8169cb2991f9c731958def2f 100644
--- a/webrtc/base/firewallsocketserver.h
+++ b/webrtc/base/firewallsocketserver.h
@@ -26,8 +26,8 @@ enum FirewallDirection { FD_IN, FD_OUT, FD_ANY };
class FirewallSocketServer : public SocketServer {
public:
- FirewallSocketServer(SocketServer * server,
- FirewallManager * manager = NULL,
+ FirewallSocketServer(SocketServer* server,
+ FirewallManager* manager = nullptr,
bool should_delete_server = false);
~FirewallSocketServer() override;
@@ -35,7 +35,7 @@ class FirewallSocketServer : public SocketServer {
void set_socketserver(SocketServer* server) {
if (server_ && should_delete_server_) {
delete server_;
- server_ = NULL;
+ server_ = nullptr;
should_delete_server_ = false;
}
server_ = server;
« no previous file with comments | « webrtc/base/fileutils_unittest.cc ('k') | webrtc/base/firewallsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698