summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/TextIterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/TextIterator.cpp')
-rw-r--r--WebCore/editing/TextIterator.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/WebCore/editing/TextIterator.cpp b/WebCore/editing/TextIterator.cpp
index 0612986..a96268d 100644
--- a/WebCore/editing/TextIterator.cpp
+++ b/WebCore/editing/TextIterator.cpp
@@ -112,6 +112,10 @@ BitStack::BitStack()
{
}
+BitStack::~BitStack()
+{
+}
+
void BitStack::push(bool bit)
{
unsigned index = m_size / bitsInWord;
@@ -150,9 +154,9 @@ unsigned BitStack::size() const
// --------
-static inline Node* parentCrossingShadowBoundaries(Node* node)
+static inline ContainerNode* parentCrossingShadowBoundaries(Node* node)
{
- if (Node* parent = node->parentNode())
+ if (ContainerNode* parent = node->parentNode())
return parent;
return node->shadowParentNode();
}
@@ -336,6 +340,10 @@ TextIterator::TextIterator(const Range* r, TextIteratorBehavior behavior)
advance();
}
+TextIterator::~TextIterator()
+{
+}
+
void TextIterator::advance()
{
// reset the run information
@@ -1456,6 +1464,10 @@ WordAwareIterator::WordAwareIterator(const Range* r)
advance(); // get in position over the first chunk of text
}
+WordAwareIterator::~WordAwareIterator()
+{
+}
+
// We're always in one of these modes:
// - The current chunk in the text iterator is our current chunk
// (typically its a piece of whitespace, or text that ended with whitespace)