fix: Use --enable-features and --disable-features (#13805)
Unlike Chrome, we were not using the --enable-features and --disable-features command-line arguments to initialize `base::FeatureList`.
This commit is contained in:
parent
b659ff2de3
commit
b08df88b7c
3 changed files with 36 additions and 5 deletions
|
@ -33,6 +33,7 @@ class BrowserMainParts : public content::BrowserMainParts {
|
|||
|
||||
protected:
|
||||
// content::BrowserMainParts:
|
||||
bool ShouldContentCreateFeatureList() override;
|
||||
int PreEarlyInitialization() override;
|
||||
void ToolkitInitialized() override;
|
||||
void PreMainMessageLoopStart() override;
|
||||
|
@ -48,6 +49,8 @@ class BrowserMainParts : public content::BrowserMainParts {
|
|||
void OverrideAppLogsPath();
|
||||
#endif
|
||||
|
||||
void InitializeFeatureList();
|
||||
|
||||
std::unique_ptr<IOThread> io_thread_;
|
||||
|
||||
#if defined(USE_AURA)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue