| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 4536bce8f31fa30c5175fd40a82fdbb934b6332d..e35899875925ed2d5b97e524fe9524cd83d342be 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -729,8 +729,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();
|
| }
|
|
|