summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLTableElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLTableElement.cpp')
-rw-r--r--WebCore/html/HTMLTableElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLTableElement.cpp b/WebCore/html/HTMLTableElement.cpp
index f6344d4..e554620 100644
--- a/WebCore/html/HTMLTableElement.cpp
+++ b/WebCore/html/HTMLTableElement.cpp
@@ -205,7 +205,7 @@ PassRefPtr<HTMLElement> HTMLTableElement::insertRow(int index, ExceptionCode& ec
ContainerNode* parent;
if (lastRow)
- parent = row ? row->parent() : lastRow->parent();
+ parent = row ? row->parentNode() : lastRow->parentNode();
else {
parent = lastBody();
if (!parent) {