From ea7e273a06cdcf704b554b900c901811cbc22982 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 12 Apr 2018 15:32:43 +0530 Subject: [PATCH] gin: Make gin/ remember external reference table https://chromium-review.googlesource.com/c/chromium/src/+/778741 --- atom/browser/javascript_environment.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/browser/javascript_environment.cc b/atom/browser/javascript_environment.cc index a75cd6c39987..ddb689236bdf 100644 --- a/atom/browser/javascript_environment.cc +++ b/atom/browser/javascript_environment.cc @@ -56,7 +56,8 @@ bool JavascriptEnvironment::Initialize() { new v8::TracingController()); gin::IsolateHolder::Initialize( gin::IsolateHolder::kNonStrictMode, gin::IsolateHolder::kStableV8Extras, - gin::ArrayBufferAllocator::SharedInstance(), false); + gin::ArrayBufferAllocator::SharedInstance(), + nullptr /* external_reference_table */, false /* create_v8_platform */); return true; }