Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index d847158b75f12637d937c842173229bb33946d81..8365c8ca5c329f4b9651049dd18181705f6e62f7 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -1496,7 +1496,7 @@ Node* Range::firstNode() const |
return child; |
if (!m_start.offset()) |
return m_start.container(); |
- return NodeTraversal::nextSkippingChildren(m_start.container()); |
+ return NodeTraversal::nextSkippingChildren(*m_start.container()); |
} |
ShadowRoot* Range::shadowRoot() const |
@@ -1509,10 +1509,10 @@ Node* Range::pastLastNode() const |
if (!m_start.container() || !m_end.container()) |
return 0; |
if (m_end.container()->offsetInCharacters()) |
- return NodeTraversal::nextSkippingChildren(m_end.container()); |
+ return NodeTraversal::nextSkippingChildren(*m_end.container()); |
if (Node* child = m_end.container()->childNode(m_end.offset())) |
return child; |
- return NodeTraversal::nextSkippingChildren(m_end.container()); |
+ return NodeTraversal::nextSkippingChildren(*m_end.container()); |
} |
IntRect Range::boundingBox() const |