Index: Source/WebCore/editing/Editor.cpp |
=================================================================== |
--- Source/WebCore/editing/Editor.cpp (revision 86210) |
+++ Source/WebCore/editing/Editor.cpp (working copy) |
@@ -1051,7 +1051,7 @@ |
// This is off by default, since most editors want this behavior (this matches IE but not FF). |
, m_shouldStyleWithCSS(false) |
, m_killRing(adoptPtr(new KillRing)) |
- , m_spellChecker(adoptPtr(new SpellChecker(frame, frame->page() ? frame->page()->editorClient()->textChecker() : 0))) |
+ , m_spellChecker(adoptPtr(new SpellChecker(frame))) |
, m_spellingCorrector(adoptPtr(new SpellingCorrectionController(frame))) |
, m_areMarkedTextMatchesHighlighted(false) |
{ |