Lines Matching defs:isolate
45 ScriptPromiseResolver::ScriptPromiseResolver(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
46 : m_isolate(isolate)
50 V8PromiseCustom::createPromise(creationContext, &promise, &resolver, isolate);
51 m_promise.set(isolate, promise);
52 m_resolver.set(isolate, resolver);
68 v8::Isolate* isolate = v8::Isolate::GetCurrent();
69 return adoptRef(new ScriptPromiseResolver(toV8Context(context, DOMWrapperWorld::current())->Global(), isolate));
75 v8::Isolate* isolate = v8::Isolate::GetCurrent();
76 return adoptRef(new ScriptPromiseResolver(v8::Object::New(), isolate));