Remove strange CharacterData::dataImpl function
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jan 2015 05:29:55 +0000 (05:29 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jan 2015 05:29:55 +0000 (05:29 +0000)
commit1a51bad2d928eb6bc01d2a1a7275dc656edb68b7
treefc3bfa494bdc83fa6c49ff3c10a1beecb416ef25
parent19e4f864f61636ec6c0c899b466d961f0ff7af54
Remove strange CharacterData::dataImpl function
https://bugs.webkit.org/show_bug.cgi?id=140115

Reviewed by Anders Carlsson.

Every call site could just use the data function instead.

* dom/CharacterData.h:
(WebCore::CharacterData::dataImpl): Deleted.

* dom/Text.cpp:
(WebCore::Text::splitText): Use data instead of dataImpl.
(WebCore::Text::createTextRenderer): Ditto.

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::RenderCombineText): Updated to take
const String&. We missed this class when RenderText changed.
* rendering/RenderCombineText.h: Ditto.

* style/StyleResolveTree.cpp:
(WebCore::Style::updateTextRendererAfterContentChange): Use data.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/CharacterData.h
Source/WebCore/dom/Text.cpp
Source/WebCore/rendering/RenderCombineText.cpp
Source/WebCore/rendering/RenderCombineText.h
Source/WebCore/style/StyleResolveTree.cpp