From b7d00e26bf89ba87c1fe051d43ccf9d1e4def0d2 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 18 Jun 2018 13:10:41 +1000 Subject: [PATCH] Default LoadV8Snapshot changed in C66 CR Ref: https://chromium-review.googlesource.com/c/chromium/src/+/859577 --- atom/app/node_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/app/node_main.cc b/atom/app/node_main.cc index 58b58c231ce3..9a95165f77a2 100644 --- a/atom/app/node_main.cc +++ b/atom/app/node_main.cc @@ -42,7 +42,8 @@ int NodeMain(int argc, char* argv[]) { feature_list->InitializeFromCommandLine("", ""); base::FeatureList::SetInstance(std::move(feature_list)); - gin::V8Initializer::LoadV8Snapshot(); + gin::V8Initializer::LoadV8Snapshot( + gin::V8Initializer::V8SnapshotFileType::kWithAdditionalContext); gin::V8Initializer::LoadV8Natives(); // V8 requires a task scheduler apparently