Reduce use of deprecatedCharacters in WebCore
[WebKit-https.git] / Source / WebCore / editing / VisiblePosition.cpp
index 10ca164..fd8cc4d 100644 (file)
@@ -590,8 +590,7 @@ UChar32 VisiblePosition::characterAfter() const
         return 0;
 
     UChar32 ch;
-    const UChar* characters = textNode->data().deprecatedCharacters();
-    U16_NEXT(characters, offset, length, ch);
+    U16_NEXT(textNode->data(), offset, length, ch);
     return ch;
 }