| Index: chrome/browser/net/http_server_properties_manager.cc
 | 
| diff --git a/chrome/browser/net/http_server_properties_manager.cc b/chrome/browser/net/http_server_properties_manager.cc
 | 
| index 461a1d9e4a03ff183b20b5e513654b8f22051e47..167392de46737e0fbe0c7a41e5351226c3b6885d 100644
 | 
| --- a/chrome/browser/net/http_server_properties_manager.cc
 | 
| +++ b/chrome/browser/net/http_server_properties_manager.cc
 | 
| @@ -57,7 +57,10 @@ HttpServerPropertiesManager::HttpServerPropertiesManager(
 | 
|    ui_cache_update_timer_.reset(
 | 
|        new base::OneShotTimer<HttpServerPropertiesManager>);
 | 
|    pref_change_registrar_.Init(pref_service_);
 | 
| -  pref_change_registrar_.Add(prefs::kHttpServerProperties, this);
 | 
| +  pref_change_registrar_.Add(
 | 
| +      prefs::kHttpServerProperties,
 | 
| +      base::Bind(&HttpServerPropertiesManager::OnHttpServerPropertiesChanged,
 | 
| +                 base::Unretained(this)));
 | 
|  }
 | 
|  
 | 
|  HttpServerPropertiesManager::~HttpServerPropertiesManager() {
 | 
| @@ -656,17 +659,10 @@ void HttpServerPropertiesManager::UpdatePrefsOnUI(
 | 
|      completion.Run();
 | 
|  }
 | 
|  
 | 
| -void HttpServerPropertiesManager::OnPreferenceChanged(
 | 
| -    PrefServiceBase* prefs,
 | 
| -    const std::string& pref_name) {
 | 
| +void HttpServerPropertiesManager::OnHttpServerPropertiesChanged() {
 | 
|    DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
 | 
| -  DCHECK(prefs == pref_service_);
 | 
| -  if (pref_name == prefs::kHttpServerProperties) {
 | 
| -    if (!setting_prefs_)
 | 
| -      ScheduleUpdateCacheOnUI();
 | 
| -  } else {
 | 
| -    NOTREACHED();
 | 
| -  }
 | 
| +  if (!setting_prefs_)
 | 
| +    ScheduleUpdateCacheOnUI();
 | 
|  }
 | 
|  
 | 
|  }  // namespace chrome_browser_net
 | 
| 
 |