JSWorkerContextBase::JSWorkerContextBase(JSC::JSGlobalData& globalData, JSC::Structure* structure, PassRefPtr<WorkerContext> impl) : JSDOMGlobalObject(globalData, structure, normalWorld(globalData), this) , m_impl(impl) { ASSERT(inherits(&s_info)); }
JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase(JSC::VM& vm, JSC::Structure* structure, PassRefPtr<WorkerGlobalScope> impl) : JSDOMGlobalObject(vm, structure, &normalWorld(vm), &s_globalObjectMethodTable) , m_wrapped(impl) { }
JSWorkerContextBase::JSWorkerContextBase(JSC::VM& vm, JSC::Structure* structure, PassRefPtr<WorkerContext> impl) : JSDOMGlobalObject(vm, structure, normalWorld(vm)) , m_impl(impl) { }
JSWorkerContextBase::JSWorkerContextBase(JSC::JSGlobalData& globalData, JSC::Structure* structure, PassRefPtr<WorkerContext> impl) : JSDOMGlobalObject(globalData, structure, normalWorld(globalData)) , m_impl(impl) { }
DOMWrapperWorld* mainThreadNormalWorld() { ASSERT(isMainThread()); static DOMWrapperWorld* cachedNormalWorld = normalWorld(*JSDOMWindow::commonJSGlobalData()); return cachedNormalWorld; }