Index: Source/core/editing/SpellChecker.cpp |
diff --git a/Source/core/editing/SpellChecker.cpp b/Source/core/editing/SpellChecker.cpp |
index f91f622b3dfad242718b9ef23da801141a253bf7..c85a648c398a747f53d0a148c0d727b16c97aaa2 100644 |
--- a/Source/core/editing/SpellChecker.cpp |
+++ b/Source/core/editing/SpellChecker.cpp |
@@ -201,7 +201,7 @@ void SpellChecker::advanceToNextMisspelling(bool startBeforeSelection) |
} |
// topNode defines the whole range we want to operate on |
- Node* topNode = highestEditableRoot(position); |
+ ContainerNode* topNode = highestEditableRoot(position); |
// FIXME: lastOffsetForEditing() is wrong here if editingIgnoresContent(highestEditableRoot()) returns true (e.g. a <table>) |
spellingSearchRange->setEnd(topNode, lastOffsetForEditing(topNode), IGNORE_EXCEPTION); |