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

Unified Diff: extensions/browser/api/cast_channel/cast_socket_unittest.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/api/cast_channel/cast_socket_unittest.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket_unittest.cc b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
index fefed36841eb4337bd35d540d6c4ad936c5a7c48..7f66ab4f2fe5ae30da544dcc2beba2f9785f8e25 100644
--- a/extensions/browser/api/cast_channel/cast_socket_unittest.cc
+++ b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
@@ -86,13 +86,13 @@ class MockCastSocketDelegate : public CastSocket::Delegate {
class MockTCPSocket : public net::TCPClientSocket {
public:
- explicit MockTCPSocket(const net::MockConnect& connect_data) :
- TCPClientSocket(net::AddressList(), NULL, net::NetLog::Source()),
- connect_data_(connect_data),
- do_nothing_(false) { }
+ explicit MockTCPSocket(const net::MockConnect& connect_data)
+ : TCPClientSocket(net::AddressList(), nullptr, net::NetLog::Source()),
+ connect_data_(connect_data),
+ do_nothing_(false) {}
- explicit MockTCPSocket(bool do_nothing) :
- TCPClientSocket(net::AddressList(), NULL, net::NetLog::Source()) {
+ explicit MockTCPSocket(bool do_nothing)
+ : TCPClientSocket(net::AddressList(), nullptr, net::NetLog::Source()) {
CHECK(do_nothing);
do_nothing_ = do_nothing;
}

Powered by Google App Engine
This is Rietveld 408576698