Call BrowserContext::Initialize

This commit is contained in:
Cheng Zhao 2016-05-23 12:36:34 +09:00
parent 7c39075c2c
commit 0a5c4b8ced

View file

@ -110,6 +110,8 @@ BrowserContext::BrowserContext(const std::string& partition, bool in_memory)
if (!in_memory_ && !partition.empty())
path_ = path_.Append(FILE_PATH_LITERAL("Partitions"))
.Append(base::FilePath::FromUTF8Unsafe(MakePartitionName(partition)));
content::BrowserContext::Initialize(this, path_);
}
void BrowserContext::InitPrefs() {