fix: don't propagate GDK_BACKEND to subprocs (#28898)
This commit is contained in:
parent
b27c5b94f7
commit
7b169c2884
4 changed files with 42 additions and 0 deletions
|
@ -88,6 +88,11 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
|
|||
Browser* browser() { return browser_.get(); }
|
||||
BrowserProcessImpl* browser_process() { return fake_browser_process_.get(); }
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
// Used by platform_util to set GDK_BACKEND.
|
||||
static base::Optional<std::string>& GetGDKBackend();
|
||||
#endif
|
||||
|
||||
protected:
|
||||
// content::BrowserMainParts:
|
||||
int PreEarlyInitialization() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue