TextIterator: Use StringView and references rather than pointers
[WebKit-https.git] / Source / WebCore / editing / TextCheckingHelper.cpp
index b7dd3341c85f7b0262b35cf4accdab84103858eb..794f174501a95e78cf1e24b88b785db77aaff6a1 100644 (file)
@@ -244,7 +244,7 @@ TextCheckingHelper::~TextCheckingHelper()
 
 String TextCheckingHelper::findFirstMisspelling(int& firstMisspellingOffset, bool markAll, RefPtr<Range>& firstMisspellingRange)
 {
-    WordAwareIterator it(m_range.get());
+    WordAwareIterator it(*m_range);
     firstMisspellingOffset = 0;
     
     String firstMisspelling;