File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ using v8::Symbol;
8181using v8::Uint32;
8282using v8::UnboundScript;
8383using v8::Value;
84- using v8::WeakCallbackInfo;
8584
8685// The vm module executes code in a sandboxed environment with a different
8786// global object than the rest of the code. This is achieved by applying
@@ -416,12 +415,6 @@ void ContextifyContext::MakeContext(const FunctionCallbackInfo<Value>& args) {
416415 }
417416}
418417
419- void ContextifyContext::WeakCallback (
420- const WeakCallbackInfo<ContextifyContext>& data) {
421- ContextifyContext* context = data.GetParameter ();
422- delete context;
423- }
424-
425418// static
426419ContextifyContext* ContextifyContext::ContextFromContextifiedSandbox (
427420 Environment* env,
Original file line number Diff line number Diff line change @@ -94,8 +94,6 @@ class ContextifyContext : public BaseObject {
9494 bool produce_cached_data,
9595 v8::Local<v8::Symbol> id_symbol,
9696 const errors::TryCatchScope& try_catch);
97- static void WeakCallback (
98- const v8::WeakCallbackInfo<ContextifyContext>& data);
9997 static v8::Intercepted PropertyGetterCallback (
10098 v8::Local<v8::Name> property,
10199 const v8::PropertyCallbackInfo<v8::Value>& args);
You can’t perform that action at this time.
0 commit comments