Index: remoting/protocol/jingle_session.cc |
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc |
index c6a4f22762020485371a0fd0364b6eee1bfbc626..72985c29465cba4f4d39af6543f78c1aa33605e5 100644 |
--- a/remoting/protocol/jingle_session.cc |
+++ b/remoting/protocol/jingle_session.cc |
@@ -323,7 +323,8 @@ void JingleSession::OnMessageResponse( |
CloseInternal(SIGNALING_TIMEOUT); |
return; |
} else { |
- const std::string& type = response->Attr(buzz::QName("", "type")); |
+ const std::string& type = |
+ response->Attr(buzz::QName(std::string(), "type")); |
if (type != "result") { |
LOG(ERROR) << "Received error in response to " << type_str |
<< " message: \"" << response->Str() |
@@ -383,7 +384,7 @@ void JingleSession::OnTransportInfoResponse(IqRequest* request, |
return; |
} |
- const std::string& type = response->Attr(buzz::QName("", "type")); |
+ const std::string& type = response->Attr(buzz::QName(std::string(), "type")); |
if (type != "result") { |
LOG(ERROR) << "Received error in response to transport-info message: \"" |
<< response->Str() << "\". Terminating the session."; |