Index: Source/core/editing/htmlediting.h |
diff --git a/Source/core/editing/htmlediting.h b/Source/core/editing/htmlediting.h |
index 115ad0d6e6ad9739b206ab0f8d8700b6fdf20c1a..fea9568601dc20386356b176902bb86a4f5c72dc 100644 |
--- a/Source/core/editing/htmlediting.h |
+++ b/Source/core/editing/htmlediting.h |
@@ -134,14 +134,14 @@ inline Position firstPositionInOrBeforeNode(Node* node) |
{ |
if (!node) |
return Position(); |
- return editingIgnoresContent(node) ? positionBeforeNode(node) : firstPositionInNode(node); |
+ return editingIgnoresContent(node) ? positionBeforeNode(*node) : firstPositionInNode(node); |
} |
inline Position lastPositionInOrAfterNode(Node* node) |
{ |
if (!node) |
return Position(); |
- return editingIgnoresContent(node) ? positionAfterNode(node) : lastPositionInNode(node); |
+ return editingIgnoresContent(node) ? positionAfterNode(*node) : lastPositionInNode(node); |
} |
// comparision functions on Position |