fix: add support for --ozone-platform-hint flag on Linux (#34937)

This commit is contained in:
Valentin Hăloiu 2022-07-21 11:37:54 +03:00 committed by GitHub
parent 9f0e7126c4
commit 67eda4bcc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 140 additions and 0 deletions

View file

@ -217,6 +217,7 @@ int ElectronBrowserMainParts::PreEarlyInitialization() {
HandleSIGCHLD();
#endif
#if BUILDFLAG(IS_LINUX)
DetectOzonePlatform();
ui::OzonePlatform::PreEarlyInitialization();
#endif
#if BUILDFLAG(IS_MAC)