chore: restore //url dchecks (#15637)

This commit is contained in:
Jeremy Apthorp 2018-11-22 09:02:52 -08:00 committed by GitHub
parent fb52fdc592
commit a8a881c8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 65 additions and 50 deletions

View file

@ -421,6 +421,9 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
node_bindings_->PrepareMessageLoop();
node_bindings_->RunMessageLoop();
// url::Add*Scheme are not threadsafe, this helps prevent data races.
url::LockSchemeRegistries();
#if defined(USE_X11)
ui::TouchFactory::SetTouchDeviceListFromCommandLine();
#endif