Searched refs:shadowTemplate (Results 1 – 1 of 1) sorted by relevance
51 …v8::Handle<v8::FunctionTemplate> shadowTemplate = data->privateTemplateIfExists(currentWorldType, … in wrapInShadowTemplate() local52 if (shadowTemplate.IsEmpty()) { in wrapInShadowTemplate()53 shadowTemplate = v8::FunctionTemplate::New(isolate); in wrapInShadowTemplate()54 if (shadowTemplate.IsEmpty()) in wrapInShadowTemplate()56 shadowTemplate->SetClassName(v8AtomicString(isolate, "HTMLDocument")); in wrapInShadowTemplate()57 shadowTemplate->Inherit(V8HTMLDocument::domTemplate(isolate, currentWorldType)); in wrapInShadowTemplate()58 … shadowTemplate->InstanceTemplate()->SetInternalFieldCount(V8HTMLDocument::internalFieldCount); in wrapInShadowTemplate()59 data->setPrivateTemplate(currentWorldType, &shadowTemplateUniqueKey, shadowTemplate); in wrapInShadowTemplate()62 v8::Local<v8::Function> shadowConstructor = shadowTemplate->GetFunction(); in wrapInShadowTemplate()