DescriptionInitialize the application context prior to initializing command line flags.
We used to initialize the command line flags prior to setting the
application context in Android's BrowserStartupController.
When determining the command line flags for the renderer, certain flags
may be dependent on the Android SDK version being used. Getting this value
through base::android::BuildInfo requires the application context to be known.
This change makes sure that we initialize the application context prior to
calling the native SetCommandLineFlags function.
BUG=
Committed: https://crrev.com/5335d2564facbeea5368cfb188a0339e4699d71e
Cr-Commit-Position: refs/heads/master@{#316565}
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 20 (7 generated)
|