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: extensions/browser/api/socket/socket.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/socket/socket.cc
diff --git a/extensions/browser/api/socket/socket.cc b/extensions/browser/api/socket/socket.cc
index afec38f46df44c8c79b5cd82f1d12f9a561fdfe4..a9ee15ef00596a5a8112b0409a884b094c81af28 100644
--- a/extensions/browser/api/socket/socket.cc
+++ b/extensions/browser/api/socket/socket.cc
@@ -64,7 +64,7 @@ void Socket::WriteData() {
}
void Socket::OnWriteComplete(int result) {
- io_buffer_write_ = NULL;
+ io_buffer_write_ = nullptr;
WriteRequest& request = write_queue_.front();
@@ -98,7 +98,7 @@ int Socket::Listen(const std::string& address,
}
void Socket::Accept(const AcceptCompletionCallback& callback) {
- callback.Run(net::ERR_FAILED, NULL);
+ callback.Run(net::ERR_FAILED, nullptr);
}
// static

Powered by Google App Engine
This is Rietveld 408576698