Home | History | Annotate | Download | only in js

Lines Matching full:world

83 inline JSWrapperCache* Document::getWrapperCache(DOMWrapperWorld* world)
85 if (world->isNormal()) {
88 ASSERT(!m_wrapperCacheMap.contains(world));
89 } else if (JSWrapperCache* wrapperCache = m_wrapperCacheMap.get(world))
91 return createWrapperCache(world);
284 // Check the normal world first!
341 void forgetWorldOfDOMNodesForDocument(Document* document, DOMWrapperWorld* world)
343 JSWrapperCache* wrappers = document->wrapperCacheMap().take(world);
344 ASSERT(wrappers); // 'world' should only know about 'document' if 'document' knows about 'world'!
348 static inline bool isObservableThroughDOM(JSNode* jsNode, DOMWrapperWorld* world)
374 if (DOMObject* wrapper = world->m_wrappers.uncheckedGet(attributes)) {
381 if (DOMObject* wrapper = world->m_wrappers.uncheckedGet(style)) {
389 if (DOMObject* wrapper = world->m_wrappers.uncheckedGet(context)) {
424 DOMWrapperWorld* world = wrappersIter->first;
430 if (isObservableThroughDOM(jsNode, world))
475 DOMWrapperWorld* world = *worldIter;
476 if (JSNode* wrapper = static_cast<JSNode*>(world->m_wrappers.take(node))) {
478 wrapperSet.append(WrapperAndWorld(wrapper, world));
537 // Check the normal world first!