fix: crash on boot with --log-net-log (#22035)
This commit is contained in:
parent
d9321f4df7
commit
ba5d712a15
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ ElectronBrowserContext::ElectronBrowserContext(const std::string& partition,
|
|||
storage_policy_(new SpecialStoragePolicy),
|
||||
in_memory_(in_memory),
|
||||
weak_factory_(this) {
|
||||
// TODO(nornagon): remove once https://crbug.com/1048822 is fixed.
|
||||
base::ScopedAllowBlockingForTesting allow_blocking;
|
||||
user_agent_ = ElectronBrowserClient::Get()->GetUserAgent();
|
||||
|
||||
// Read options.
|
||||
|
|
Loading…
Reference in a new issue