Index: remoting/protocol/third_party_authenticator_base.cc |
diff --git a/remoting/protocol/third_party_authenticator_base.cc b/remoting/protocol/third_party_authenticator_base.cc |
index 15de95c6e9d82037c07bafbe5e3b849e5aa5dd82..ec5490e8972fc81cac3171960dafed3cad8fc755 100644 |
--- a/remoting/protocol/third_party_authenticator_base.cc |
+++ b/remoting/protocol/third_party_authenticator_base.cc |
@@ -74,7 +74,7 @@ scoped_ptr<buzz::XmlElement> ThirdPartyAuthenticatorBase::GetNextMessage() { |
scoped_ptr<buzz::XmlElement> message; |
if (underlying_ && underlying_->state() == MESSAGE_READY) { |
- message = underlying_->GetNextMessage().Pass(); |
+ message = underlying_->GetNextMessage(); |
} else { |
message = CreateEmptyAuthenticatorMessage(); |
} |
@@ -83,7 +83,7 @@ scoped_ptr<buzz::XmlElement> ThirdPartyAuthenticatorBase::GetNextMessage() { |
AddTokenElements(message.get()); |
started_ = true; |
} |
- return message.Pass(); |
+ return message; |
} |
const std::string& ThirdPartyAuthenticatorBase::GetAuthKey() const { |