Lines Matching refs:owner

59 RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, RenderObject* oldChild, bool notifyRenderer)
61 ASSERT(oldChild->parent() == owner);
68 AllowPaintInvalidationScope scoper(owner->frameView());
73 if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout()) {
87 if (!owner->documentBeingDestroyed() && oldChild->isSelectionBorder())
88 owner->view()->clearSelection();
90 if (!owner->documentBeingDestroyed() && notifyRenderer)
113 if (!owner->documentBeingDestroyed())
116 if (AXObjectCache* cache = owner->document().existingAXObjectCache())
117 cache->childrenChanged(owner);
122 void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* newChild, RenderObject* beforeChild, bool notifyRenderer)
125 ASSERT(!owner->isRenderBlockFlow() || (!newChild->isTableSection() && !newChild->isTableRow() && !newChild->isTableCell()));
127 while (beforeChild && beforeChild->parent() && beforeChild->parent() != owner)
131 // where child->parent() ends up being owner but child->nextSibling()->parent()
132 // is not owner.
133 if (beforeChild && beforeChild->parent() != owner) {
138 newChild->setParent(owner);
157 if (!owner->documentBeingDestroyed() && notifyRenderer)
160 if (!owner->documentBeingDestroyed()) {
165 if (!owner->normalChildNeedsLayout())
166 owner->setChildNeedsLayout(); // We may supply the static position for an absolute positioned child.
168 if (AXObjectCache* cache = owner->document().axObjectCache())
169 cache->childrenChanged(owner);