Browse Source

fix for always incognito profile

Carmelo Messina 4 years ago
parent
commit
d804ba7400
1 changed files with 1 additions and 4 deletions
  1. 1 4
      build/patches/Add-a-proxy-configuration-page.patch

+ 1 - 4
build/patches/Add-a-proxy-configuration-page.patch

@@ -674,7 +674,7 @@ new file mode 100644
 +      weak_ptr_factory_(this) {
 +
 +  // used to set new configuration preferences
-+  profile_ = profile;
++  profile_ = profile->GetOriginalProfile();
 +  // observer is explicitly added only later in enableNotifyUIWithState
 +  is_observing_ = false;
 +
@@ -1241,6 +1241,3 @@ diff --git a/net/proxy_resolution/proxy_config.h b/net/proxy_resolution/proxy_co
  
      // Returns one of {&proxies_for_http, &proxies_for_https, &proxies_for_ftp,
      // &fallback_proxies}, or NULL if there is no proxy to use.
--- 
-2.17.1
-