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

Unified Diff: components/sync/tools/testserver/run_sync_testserver.cc

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 years, 2 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 | « components/sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/tools/testserver/run_sync_testserver.cc
diff --git a/components/sync/tools/testserver/run_sync_testserver.cc b/components/sync/tools/testserver/run_sync_testserver.cc
index b7df94ca5dc295cca332d9bf2c3be15cb3423ac2..464de8379c202dc1075b766fbf4e737b1c8fa4c3 100644
--- a/components/sync/tools/testserver/run_sync_testserver.cc
+++ b/components/sync/tools/testserver/run_sync_testserver.cc
@@ -57,7 +57,7 @@ static bool RunSyncTest(
// Gets a port value from the switch with name |switch_name| and writes it to
// |port|. Returns true if a port was provided and false otherwise.
static bool GetPortFromSwitch(const std::string& switch_name, uint16_t* port) {
- DCHECK(port != NULL) << "|port| is NULL";
+ DCHECK(port != nullptr) << "|port| is null";
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
int port_int = 0;
if (command_line->HasSwitch(switch_name)) {
« no previous file with comments | « components/sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698