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:
trop[bot] 2018-07-26 08:29:08 -07:00 committed by Charles Kerr
parent b659ff2de3
commit b08df88b7c
3 changed files with 36 additions and 5 deletions

View file

@ -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)