mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-20 21:44:06 +01:00
Fix crash when persisting user preferences (issue #2017)
This commit is contained in:
parent
ffab334e94
commit
4adaa2b552
@ -145,7 +145,7 @@ std::unique_ptr<PrefService> CreatePrefService(
|
||||
|
||||
if (store_on_disk) {
|
||||
supervised_user_settings->Init(
|
||||
cache_path, sequenced_task_runner.get(), false);
|
||||
cache_path, sequenced_task_runner.get(), true);
|
||||
} else {
|
||||
scoped_refptr<TestingPrefStore> testing_pref_store = new TestingPrefStore();
|
||||
testing_pref_store->SetInitializationCompleted();
|
||||
|
Loading…
Reference in New Issue
Block a user