| Index: remoting/client/plugin/delegating_signal_strategy.cc
|
| diff --git a/remoting/client/plugin/delegating_signal_strategy.cc b/remoting/client/plugin/delegating_signal_strategy.cc
|
| index bb4bd938edfaef1e83b1e0ebf360e565697a084f..bc86f41b0d38faddf42816735e5312d80899d654 100644
|
| --- a/remoting/client/plugin/delegating_signal_strategy.cc
|
| +++ b/remoting/client/plugin/delegating_signal_strategy.cc
|
| @@ -21,7 +21,7 @@ DelegatingSignalStrategy::~DelegatingSignalStrategy() {
|
| }
|
|
|
| void DelegatingSignalStrategy::OnIncomingMessage(const std::string& message) {
|
| - scoped_ptr<buzz::XmlElement> stanza(buzz::XmlElement::ForStr(message));
|
| + std::unique_ptr<buzz::XmlElement> stanza(buzz::XmlElement::ForStr(message));
|
| if (!stanza.get()) {
|
| LOG(WARNING) << "Malformed XMPP stanza received: " << message;
|
| return;
|
| @@ -61,7 +61,8 @@ void DelegatingSignalStrategy::RemoveListener(Listener* listener) {
|
| listeners_.RemoveObserver(listener);
|
| }
|
|
|
| -bool DelegatingSignalStrategy::SendStanza(scoped_ptr<buzz::XmlElement> stanza) {
|
| +bool DelegatingSignalStrategy::SendStanza(
|
| + std::unique_ptr<buzz::XmlElement> stanza) {
|
| send_iq_callback_.Run(stanza->Str());
|
| return true;
|
| }
|
|
|