Index: Source/core/editing/SpellChecker.cpp |
diff --git a/Source/core/editing/SpellChecker.cpp b/Source/core/editing/SpellChecker.cpp |
index 6520f412b4c0f3ed3dfe6338b0d846d63f972435..ea460e7c33c8687e0fd2e04bec03aa3c1bbc779c 100644 |
--- a/Source/core/editing/SpellChecker.cpp |
+++ b/Source/core/editing/SpellChecker.cpp |
@@ -95,7 +95,7 @@ void SpellChecker::toggleContinuousSpellChecking() |
editorClient().toggleContinuousSpellChecking(); |
if (isContinuousSpellCheckingEnabled()) |
return; |
- for (Frame* frame = m_frame.page()->mainFrame(); frame && frame->document(); frame = frame->tree()->traverseNext()) { |
+ for (Frame* frame = m_frame.page()->mainFrame(); frame && frame->document(); frame = frame->tree().traverseNext()) { |
for (Node* node = frame->document()->rootNode(); node; node = NodeTraversal::next(node)) { |
node->setAlreadySpellChecked(false); |
} |