Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index e2cb0ec4ef3e10a0c01acdce32227b3e2d5591a7..a160f1cae7b75c7a44b27a90c540d7f006415bba 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -179,11 +179,11 @@ void ProfileImplIOData::Handle::Init( |
BrowserThread::GetMessageLoopProxyForThread( |
BrowserThread::UI)).Pass()); |
+ io_data_->data_reduction_proxy_io_data()->Initialize( |
+ profile_->GetRequestContext()); |
DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)-> |
InitDataReductionProxySettings(io_data_->data_reduction_proxy_io_data(), |
- profile_->GetPrefs(), |
- g_browser_process->local_state(), |
- profile_->GetRequestContext()); |
+ profile_->GetPrefs()); |
} |
content::ResourceContext* |
@@ -585,7 +585,6 @@ void ProfileImplIOData::InitializeInternal( |
scoped_ptr<net::URLRequestJobFactoryImpl> main_job_factory( |
new net::URLRequestJobFactoryImpl()); |
InstallProtocolHandlers(main_job_factory.get(), protocol_handlers); |
- |
// The data reduction proxy interceptor should be as close to the network |
// as possible. |
request_interceptors.insert( |