| Index: remoting/protocol/authenticator.cc
|
| diff --git a/remoting/protocol/authenticator.cc b/remoting/protocol/authenticator.cc
|
| index 23f77e1adf49f3cddd326f041e7b9617ecbee575..168af76902d33f6d4217d2398600f4d13a5c7cf2 100644
|
| --- a/remoting/protocol/authenticator.cc
|
| +++ b/remoting/protocol/authenticator.cc
|
| @@ -21,8 +21,9 @@ bool Authenticator::IsAuthenticatorMessage(const buzz::XmlElement* message) {
|
| }
|
|
|
| // static
|
| -buzz::XmlElement* Authenticator::CreateEmptyAuthenticatorMessage() {
|
| - return new buzz::XmlElement(kAuthenticationQName);
|
| +scoped_ptr<buzz::XmlElement> Authenticator::CreateEmptyAuthenticatorMessage() {
|
| + return scoped_ptr<buzz::XmlElement>(
|
| + new buzz::XmlElement(kAuthenticationQName));
|
| }
|
|
|
| // static
|
|
|