| Index: content/browser/geolocation/wifi_data_provider_manager.cc
|
| diff --git a/content/browser/geolocation/wifi_data_provider_manager.cc b/content/browser/geolocation/wifi_data_provider_manager.cc
|
| index 1dc1770a1911222d7dbae080d18c15e6ac2fd3f5..65d937af2f5a4480cd91f18be05cc2dc64fa2327 100644
|
| --- a/content/browser/geolocation/wifi_data_provider_manager.cc
|
| +++ b/content/browser/geolocation/wifi_data_provider_manager.cc
|
| @@ -16,13 +16,13 @@ WifiDataProviderManager::ImplFactoryFunction
|
| WifiDataProviderManager::factory_function_ = DefaultFactoryFunction;
|
|
|
| // static
|
| -void WifiDataProviderManager::SetFactory(
|
| +void WifiDataProviderManager::SetFactoryForTesting(
|
| ImplFactoryFunction factory_function_in) {
|
| factory_function_ = factory_function_in;
|
| }
|
|
|
| // static
|
| -void WifiDataProviderManager::ResetFactory() {
|
| +void WifiDataProviderManager::ResetFactoryForTesting() {
|
| factory_function_ = DefaultFactoryFunction;
|
| }
|
|
|
| @@ -65,12 +65,10 @@ WifiDataProviderManager::WifiDataProviderManager() {
|
| DCHECK(factory_function_);
|
| impl_ = (*factory_function_)();
|
| DCHECK(impl_.get());
|
| - impl_->SetContainer(this);
|
| }
|
|
|
| WifiDataProviderManager::~WifiDataProviderManager() {
|
| DCHECK(impl_.get());
|
| - impl_->SetContainer(NULL);
|
| }
|
|
|
| bool WifiDataProviderManager::GetData(WifiData* data) {
|
|
|