| Index: chromeos/components/tether/fake_wifi_hotspot_connector.cc
|
| diff --git a/chromeos/components/tether/fake_wifi_hotspot_connector.cc b/chromeos/components/tether/fake_wifi_hotspot_connector.cc
|
| index cd325481c7eca93f9a6e8f07882c670694fd799d..d6a90e0dd5cdd22a5104ce28f22b06dd0a3bc090 100644
|
| --- a/chromeos/components/tether/fake_wifi_hotspot_connector.cc
|
| +++ b/chromeos/components/tether/fake_wifi_hotspot_connector.cc
|
| @@ -12,16 +12,9 @@ namespace chromeos {
|
|
|
| namespace tether {
|
|
|
| -// static
|
| -std::unique_ptr<FakeWifiHotspotConnector> FakeWifiHotspotConnector::Create() {
|
| - return base::WrapUnique(
|
| - new FakeWifiHotspotConnector(NetworkStateHandler::InitializeForTest()));
|
| -}
|
| -
|
| FakeWifiHotspotConnector::FakeWifiHotspotConnector(
|
| - std::unique_ptr<NetworkStateHandler> network_state_handler)
|
| - : WifiHotspotConnector(network_state_handler.get(), nullptr),
|
| - network_state_handler_(std::move(network_state_handler)) {}
|
| + NetworkStateHandler* network_state_handler)
|
| + : WifiHotspotConnector(network_state_handler, nullptr) {}
|
|
|
| FakeWifiHotspotConnector::~FakeWifiHotspotConnector() {}
|
|
|
|
|