| Index: remoting/protocol/jingle_session.cc
|
| diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
|
| index bb3eb73f243e8e049ddd973c9b7cea8ed44c17cb..1b1343f72a5db2666d930fd0924c9202e558d8eb 100644
|
| --- a/remoting/protocol/jingle_session.cc
|
| +++ b/remoting/protocol/jingle_session.cc
|
| @@ -769,14 +769,14 @@ void JingleSession::ProcessIncomingPluginMessage(
|
| if (!message.attachments) {
|
| return;
|
| }
|
| - for (const auto& plugin : plugins_) {
|
| + for (auto* plugin : plugins_) {
|
| plugin->OnIncomingMessage(*(message.attachments));
|
| }
|
| }
|
|
|
| void JingleSession::AddPluginAttachments(JingleMessage* message) {
|
| DCHECK(message);
|
| - for (const auto& plugin : plugins_) {
|
| + for (auto* plugin : plugins_) {
|
| std::unique_ptr<XmlElement> attachment = plugin->GetNextMessage();
|
| if (attachment) {
|
| message->AddAttachment(std::move(attachment));
|
|
|