Default LoadV8Snapshot changed in C66

CR Ref: https://chromium-review.googlesource.com/c/chromium/src/+/859577
This commit is contained in:
Samuel Attard 2018-06-18 13:10:41 +10:00
parent 9b37e7d988
commit b7d00e26bf

View file

@ -42,7 +42,8 @@ int NodeMain(int argc, char* argv[]) {
feature_list->InitializeFromCommandLine("", ""); feature_list->InitializeFromCommandLine("", "");
base::FeatureList::SetInstance(std::move(feature_list)); base::FeatureList::SetInstance(std::move(feature_list));
gin::V8Initializer::LoadV8Snapshot(); gin::V8Initializer::LoadV8Snapshot(
gin::V8Initializer::V8SnapshotFileType::kWithAdditionalContext);
gin::V8Initializer::LoadV8Natives(); gin::V8Initializer::LoadV8Natives();
// V8 requires a task scheduler apparently // V8 requires a task scheduler apparently