-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=95702 Reviewed by Beth Dakin. Source/WebCore: Move utf8Buffer() to SharedBuffer.h/cpp Move numGraphemeClusters() and numCharactersInGraphemeClusters() to TextBreakIterator.h/cpp * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: Update projects. * platform/text/TextAllInOne.cpp: Add TextBreakIterator.cpp. * editing/Editor.h: Forward declare SharedBuffer, now that PlatformString.h doesn't. * html/InputType.cpp: #include TextBreakIterator.h. * loader/appcache/ApplicationCacheStorage.h: Replace inclusion of PlatformString.h with WTFString.h and forward declare SharedBuffer. * platform/LocalizedStrings.cpp: Replace inclusion of PlatformString.h with TextBreakIterator.h * platform/SharedBuffer.cpp: * platform/SharedBuffer.h: Move utf8Buffer() here. * platform/text/PlatformString.h: Remove everything except the #include of WTFString.h. * platform/text/TextBreakIterator.cpp: Renamed from Source/WebCore/platform/text/String.cpp. (WebCore::numGraphemeClusters): (WebCore::numCharactersInGraphemeClusters): * platform/text/TextBreakIterator.h: Move numGraphemeClusters() and numCharactersInGraphemeClusters() here. Source/WebKit2: * UIProcess/WebPageProxy.h: Forward declare SharedBuffer. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
aa390c30