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

Unified Diff: remoting/host/chromoting_host_unittest.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/chromoting_host_context.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index 84b4f7deee45e225cb95d21ba0c42051de08ec2a..19efc25c37052923a67f09d65b70870f9c6d9550 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -196,7 +196,7 @@ class ChromotingHostTest : public testing::Test {
connection.Pass(),
desktop_environment_factory_.get(),
base::TimeDelta(),
- NULL,
+ nullptr,
std::vector<HostExtension*>()));
connection_ptr->set_host_stub(client.get());
@@ -227,7 +227,7 @@ class ChromotingHostTest : public testing::Test {
void TearDown() override {
// Make sure that the host has been properly deleted.
- DCHECK(host_.get() == NULL);
+ DCHECK(host_.get() == nullptr);
}
// Change the session route for |client1_|.
@@ -322,7 +322,7 @@ class ChromotingHostTest : public testing::Test {
void StopAndReleaseTaskRunner() {
host_.reset();
- task_runner_ = NULL;
+ task_runner_ = nullptr;
desktop_environment_factory_.reset();
}
« no previous file with comments | « remoting/host/chromoting_host_context.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698