| Index: net/dns/mock_mdns_socket_factory.cc
|
| diff --git a/net/dns/mock_mdns_socket_factory.cc b/net/dns/mock_mdns_socket_factory.cc
|
| index 354992b4ec00adbe088868cf46e330a95e21b2d9..ae46d2f428d654f9ca75ca3ceb19d703e529564b 100644
|
| --- a/net/dns/mock_mdns_socket_factory.cc
|
| +++ b/net/dns/mock_mdns_socket_factory.cc
|
| @@ -2,13 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "net/dns/mock_mdns_socket_factory.h"
|
| +
|
| #include <algorithm>
|
| +#include <utility>
|
|
|
| #include "base/location.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "net/base/net_errors.h"
|
| -#include "net/dns/mock_mdns_socket_factory.h"
|
|
|
| using testing::_;
|
| using testing::Invoke;
|
| @@ -86,7 +88,7 @@ void MockMDnsSocketFactory::CreateSocket(
|
| this,
|
| &MockMDnsSocketFactory::RecvFromInternal));
|
|
|
| - sockets->push_back(new_socket.Pass());
|
| + sockets->push_back(std::move(new_socket));
|
| }
|
|
|
| void MockMDnsSocketFactory::SimulateReceive(const uint8_t* packet, int size) {
|
|
|