if (end < -1) // use node if endNode is not valid
endNode = node;
if (end <= 0)
- end = static_cast<WebCore::Text*>(endNode)->string()->length();
+ end = static_cast<WebCore::Text*>(endNode)->dataImpl()->length();
DBG_NAV_LOGD("node=%p start=%d endNode=%p end=%d", node, start, endNode, end);
WebCore::Node* startNode = node;
do {
if (node->getRect().isEmpty())
continue;
WebCore::Text* textNode = static_cast<WebCore::Text*>(node);
- WebCore::StringImpl* string = textNode->string();
+ WebCore::StringImpl* string = textNode->dataImpl();
if (!string->length())
continue;
const UChar* chars = string->characters();
CachedNodeType* type, String* exported) const
{
Text* textNode = static_cast<Text*>(node);
- StringImpl* string = textNode->string();
+ StringImpl* string = textNode->dataImpl();
const UChar* baseChars = string->characters();
// const UChar* originalBase = baseChars;
int length = string->length();
exported->truncate(0);
do {
Text* tempText = static_cast<Text*>(temp);
- StringImpl* string = tempText->string();
+ StringImpl* string = tempText->dataImpl();
int end = tempText == walk->mFinalNode ?
walk->mEnd : string->length();
exported->append(String(string->substring(
} while (renderer == NULL);
baseInline = renderer->firstTextBox();
} while (baseInline == NULL);
- string = nextNode->string();
+ string = nextNode->dataImpl();
baseChars = string->characters();
inlineTextBox = baseInline;
start = inlineTextBox->start();
tryNextCheckType:
node = textNode;
baseInline = saveInline;
- string = textNode->string();
+ string = textNode->dataImpl();
baseChars = string->characters();
}
if (foundBetter) {
{
RenderText* renderText = (RenderText*) textNode->renderer();
EVisibility vis = renderText->style()->visibility();
- StringImpl* string = textNode->string();
+ StringImpl* string = textNode->dataImpl();
const UChar* chars = string->characters();
FloatPoint pt = renderText->localToAbsolute();
do {