-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126856 Reviewed by Ryosuke Niwa. Change all the TextBreakIterator creation functions to take StringViews. Remove a few now unnecessary up-conversions to UTF-16 in the process. ../WebCore: * dom/CharacterData.cpp: * editing/TextCheckingHelper.cpp: * editing/VisibleUnits.cpp: * platform/graphics/StringTruncator.cpp: * platform/graphics/mac/ComplexTextController.cpp: * platform/text/TextBoundaries.cpp: * platform/text/TextBreakIterator.cpp: * platform/text/TextBreakIterator.h: * rendering/RenderText.cpp: ../WebKit/ios: * Misc/WebNSStringDrawing.mm: ../WebKit2: * UIProcess/efl/TextCheckerEfl.cpp: (WebKit::nextWordOffset): (WebKit::TextChecker::checkTextOfParagraph): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e1513ff2