diff options
-rw-r--r-- | net/proxy/proxy_config_service_linux.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/proxy/proxy_config_service_linux.cc b/net/proxy/proxy_config_service_linux.cc index 3c74c4d..855c6a4 100644 --- a/net/proxy/proxy_config_service_linux.cc +++ b/net/proxy/proxy_config_service_linux.cc @@ -512,7 +512,7 @@ void ProxyConfigServiceLinux::Delegate::SetupAndFetchInitialConfig( glib_default_loop_ = glib_default_loop; io_loop_ = io_loop; - // If we are passed a NULL io_loop, then we don't setup gconf + // If we are passed a NULL io_loop, then we don't set up gconf // notifications. This should not be the usual case but is intended // to simplify test setups. if (!io_loop_) @@ -612,6 +612,8 @@ void ProxyConfigServiceLinux::Delegate::OnCheckProxyConfigSettings() { this, &ProxyConfigServiceLinux::Delegate::SetNewProxyConfig, new_config)); + // Update the thread-private copy in |reference_config_| as well. + reference_config_ = new_config; } } |