Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index 9bc684497c5316540c2497fbc017d861cc8eb36c..58f0642ca8b1d4aa771215416501d0daab2545e6 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -1619,24 +1619,6 @@ PassRefPtrWillBeRawPtr<Range> rangeOfContents(Node* node) |
return range.release(); |
} |
-int Range::maxStartOffset() const |
-{ |
- if (!m_start.container()) |
- return 0; |
- if (!m_start.container()->offsetInCharacters()) |
- return m_start.container()->countChildren(); |
- return m_start.container()->maxCharacterOffset(); |
-} |
- |
-int Range::maxEndOffset() const |
-{ |
- if (!m_end.container()) |
- return 0; |
- if (!m_end.container()->offsetInCharacters()) |
- return m_end.container()->countChildren(); |
- return m_end.container()->maxCharacterOffset(); |
-} |
- |
static inline void boundaryNodeChildrenChanged(RangeBoundaryPoint& boundary, ContainerNode* container) |
{ |
if (!boundary.childBefore()) |