Index: Source/core/editing/htmlediting.cpp |
diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp |
index fdb0a187ce5558daf331df0df5cb401164119a53..20db555dab96f92cb0c736519c8f573a5b076760 100644 |
--- a/Source/core/editing/htmlediting.cpp |
+++ b/Source/core/editing/htmlediting.cpp |
@@ -268,7 +268,7 @@ VisiblePosition firstEditablePositionAfterPositionInRoot(const Position& positio |
if (!shadowAncestor) |
return VisiblePosition(); |
- p = positionAfterNode(shadowAncestor); |
+ p = positionAfterNode(*shadowAncestor); |
} |
while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot)) |