Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index 9c9a776281cbb8d71904a31f8dd1135f840f1606..bce726aed0cc2e3b19b9631333455dbc13e77218 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -777,7 +777,7 @@ static void setHasDirAutoFlagRecursively(Node* firstNode, bool flag, Node* lastN |
node->setSelfOrAncestorHasDirAutoAttribute(flag); |
if (node == lastNode) |
return; |
- node = NodeTraversal::next(node, firstNode); |
+ node = NodeTraversal::next(*node, firstNode); |
} |
} |
@@ -851,7 +851,7 @@ TextDirection HTMLElement::directionality(Node** strongDirectionalityTextNode) c |
return textDirection; |
} |
} |
- node = NodeTraversal::next(node, this); |
+ node = NodeTraversal::next(*node, this); |
} |
if (strongDirectionalityTextNode) |
*strongDirectionalityTextNode = 0; |