Index: Source/core/dom/RangeBoundaryPoint.h |
diff --git a/Source/core/dom/RangeBoundaryPoint.h b/Source/core/dom/RangeBoundaryPoint.h |
index 7574a89ef481ebaf3d52bfe58f646f5066f7f7d0..46b5c19c1dbffa3fa6dfad04a6dcfcd94a608629 100644 |
--- a/Source/core/dom/RangeBoundaryPoint.h |
+++ b/Source/core/dom/RangeBoundaryPoint.h |
@@ -121,7 +121,7 @@ inline void RangeBoundaryPoint::set(PassRefPtr<Node> container, int offset, Node |
{ |
ASSERT(container); |
ASSERT(offset >= 0); |
- ASSERT(childBefore == (offset ? container->childNode(offset - 1) : 0)); |
+ ASSERT(childBefore == (offset ? container->traverseToChildAt(offset - 1) : 0)); |
m_containerNode = container; |
m_offsetInContainer = offset; |
m_childBeforeBoundary = childBefore; |