| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index d5218609b49a2e1ff467212bda8b3060d8f48110..13d06904e6a73c140d4b9b4fc50d59ce6dccddbe 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -720,8 +720,10 @@ void TestingProfile::set_last_selected_directory(const base::FilePath& path) {
|
|
|
| PrefProxyConfigTracker* TestingProfile::GetProxyConfigTracker() {
|
| if (!pref_proxy_config_tracker_.get()) {
|
| + // TestingProfile is used in unit tests, where local state is not available.
|
| pref_proxy_config_tracker_.reset(
|
| - ProxyServiceFactory::CreatePrefProxyConfigTracker(GetPrefs()));
|
| + ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile(GetPrefs(),
|
| + NULL));
|
| }
|
| return pref_proxy_config_tracker_.get();
|
| }
|
|
|