diff options
Diffstat (limited to 'WebCore/html/parser/HTMLConstructionSite.cpp')
-rw-r--r-- | WebCore/html/parser/HTMLConstructionSite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/parser/HTMLConstructionSite.cpp b/WebCore/html/parser/HTMLConstructionSite.cpp index 7201ac7..c46b9b9 100644 --- a/WebCore/html/parser/HTMLConstructionSite.cpp +++ b/WebCore/html/parser/HTMLConstructionSite.cpp @@ -91,7 +91,7 @@ PassRefPtr<ChildType> HTMLConstructionSite::attach(ContainerNode* parent, PassRe // doesn't. It feels like we're missing a concept somehow. if (shouldFosterParent()) { fosterParent(child.get()); - ASSERT(child->attached() || !child->parent() || !child->parent()->attached()); + ASSERT(child->attached() || !child->parentNode() || !child->parentNode()->attached()); return child.release(); } @@ -434,7 +434,7 @@ void HTMLConstructionSite::findFosterSite(AttachmentSite& site) HTMLElementStack::ElementRecord* lastTableElementRecord = m_openElements.topmost(tableTag.localName()); if (lastTableElementRecord) { Element* lastTableElement = lastTableElementRecord->element(); - if (ContainerNode* parent = lastTableElement->parent()) { + if (ContainerNode* parent = lastTableElement->parentNode()) { site.parent = parent; site.nextChild = lastTableElement; return; |