DescriptionChanges to support using base/feature_list.h from gin/.
Since gin/ (V8) is used from a number of different processes and
test harnesses, this required updating them to ensure they initialize
a base::FeatureList instance (which is required before querying the
API to ensure code doesn't incorrectly query the API too early).
Additionally, for test_suite.cc, the FeatureList initialization needed
to happen earlier - since some sub-classes of it initialize gin from
their Initialize() functions. The initialization was also switched to
use FeatureList::InitializeInstance() since for some test suites,
a FeatureList would already exist.
BUG=599165, 563705
Committed: https://crrev.com/e6be55d0de165a41e25a5bd4d41181f562caf3f3
Cr-Commit-Position: refs/heads/master@{#385053}
Patch Set 1 : Try results with a gin/isolate_holder.cc Feature. #Patch Set 2 : gin/isolate_holder.cc changes (sample feature) reverted. #
Total comments: 2
Patch Set 3 : Change TestSuite code to be in Initialize()/Shutdown(). #Patch Set 4 : (trybot change) re-add temp code to gin/isolate_holder.cc to see if trybots still pass #Patch Set 5 : Test passed with gin/isolate_holder.cc feature. Reverting that test code again. #Patch Set 6 : Rebase. #
Messages
Total messages: 31 (20 generated)
|