fix: Revert "fix: don't propagate GDK_BACKEND to subprocs (#28898)" (#29610)

This reverts commit 7b169c2884.
This commit is contained in:
Samuel Attard 2021-06-09 08:28:52 -07:00 committed by GitHub
parent c252deb878
commit fa0323a3db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 42 deletions

View file

@ -88,11 +88,6 @@ 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;