Merge pull request #239 from deepak1556/pref_init_patch

bring back fix from #152
This commit is contained in:
Cheng Zhao 2016-07-27 08:53:23 +09:00 committed by GitHub
commit c00dfcdd6a

View file

@ -109,7 +109,6 @@ BrowserContext::BrowserContext(const std::string& partition, bool in_memory)
path_ = path_.Append(FILE_PATH_LITERAL("Partitions"))
.Append(base::FilePath::FromUTF8Unsafe(MakePartitionName(partition)));
InitPrefs();
content::BrowserContext::Initialize(this, path_);
browser_context_map_[PartitionKey(partition, in_memory)] = GetWeakPtr();