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

Unified Diff: remoting/signaling/jingle_info_request.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/signaling/iq_sender_unittest.cc ('k') | remoting/signaling/log_to_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/jingle_info_request.cc
diff --git a/remoting/signaling/jingle_info_request.cc b/remoting/signaling/jingle_info_request.cc
index 27958211702fa9429cd1cecf6f11fae6e5fef2a0..be0f75f5e52fc6f1866b31bdac55e12af5832e96 100644
--- a/remoting/signaling/jingle_info_request.cc
+++ b/remoting/signaling/jingle_info_request.cc
@@ -58,7 +58,7 @@ void JingleInfoRequest::OnResponse(IqRequest* request,
const buzz::XmlElement* query =
stanza->FirstNamed(buzz::QN_JINGLE_INFO_QUERY);
- if (query == NULL) {
+ if (query == nullptr) {
LOG(WARNING) << "No Jingle info found in Jingle Info query response."
<< stanza->Str();
on_jingle_info_cb_.Run(relay_token, relay_hosts, stun_hosts);
@@ -69,7 +69,7 @@ void JingleInfoRequest::OnResponse(IqRequest* request,
if (stun) {
for (const buzz::XmlElement* server =
stun->FirstNamed(buzz::QN_JINGLE_INFO_SERVER);
- server != NULL;
+ server != nullptr;
server = server->NextNamed(buzz::QN_JINGLE_INFO_SERVER)) {
std::string host = server->Attr(buzz::QN_JINGLE_INFO_HOST);
std::string port_str = server->Attr(buzz::QN_JINGLE_INFO_UDP);
@@ -90,7 +90,7 @@ void JingleInfoRequest::OnResponse(IqRequest* request,
relay_token = relay->TextNamed(buzz::QN_JINGLE_INFO_TOKEN);
for (const buzz::XmlElement* server =
relay->FirstNamed(buzz::QN_JINGLE_INFO_SERVER);
- server != NULL;
+ server != nullptr;
server = server->NextNamed(buzz::QN_JINGLE_INFO_SERVER)) {
std::string host = server->Attr(buzz::QN_JINGLE_INFO_HOST);
if (host != buzz::STR_EMPTY)
« no previous file with comments | « remoting/signaling/iq_sender_unittest.cc ('k') | remoting/signaling/log_to_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698