Default LoadV8Snapshot changed in C66
CR Ref: https://chromium-review.googlesource.com/c/chromium/src/+/859577
This commit is contained in:
parent
9b37e7d988
commit
b7d00e26bf
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue