diff options
author | Ben Murdoch <benm@google.com> | 2009-08-18 19:15:12 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-08-18 20:52:17 +0100 |
commit | 632f4508222c2a617e6820e9388867c0f4821db8 (patch) | |
tree | 3ec05f44ec5e997c1df700e4fc40f31376c1b62b /WebKit | |
parent | d227fc870c7a697500a3c900c31baf05fb9a8524 (diff) | |
download | external_webkit-632f4508222c2a617e6820e9388867c0f4821db8.zip external_webkit-632f4508222c2a617e6820e9388867c0f4821db8.tar.gz external_webkit-632f4508222c2a617e6820e9388867c0f4821db8.tar.bz2 |
Compilation and link error fixes for new webkit r47420.
Diffstat (limited to 'WebKit')
-rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 4 | ||||
-rw-r--r-- | WebKit/android/nav/CacheBuilder.cpp | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index 3ede30a..7b80563 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/WebKit/android/jni/WebViewCore.cpp @@ -1439,7 +1439,7 @@ WebCore::String WebViewCore::getSelection(SkRegion* selRgn) 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 { @@ -1448,7 +1448,7 @@ WebCore::String WebViewCore::getSelection(SkRegion* selRgn) 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(); diff --git a/WebKit/android/nav/CacheBuilder.cpp b/WebKit/android/nav/CacheBuilder.cpp index 56cb2ae..05c1c66 100644 --- a/WebKit/android/nav/CacheBuilder.cpp +++ b/WebKit/android/nav/CacheBuilder.cpp @@ -2410,7 +2410,7 @@ bool CacheBuilder::isFocusableText(NodeWalk* walk, bool more, Node* node, 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(); @@ -2515,7 +2515,7 @@ bool CacheBuilder::isFocusableText(NodeWalk* walk, bool more, Node* node, 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( @@ -2575,7 +2575,7 @@ bool CacheBuilder::isFocusableText(NodeWalk* walk, bool more, Node* node, } while (renderer == NULL); baseInline = renderer->firstTextBox(); } while (baseInline == NULL); - string = nextNode->string(); + string = nextNode->dataImpl(); baseChars = string->characters(); inlineTextBox = baseInline; start = inlineTextBox->start(); @@ -2585,7 +2585,7 @@ bool CacheBuilder::isFocusableText(NodeWalk* walk, bool more, Node* node, tryNextCheckType: node = textNode; baseInline = saveInline; - string = textNode->string(); + string = textNode->dataImpl(); baseChars = string->characters(); } if (foundBetter) { @@ -2844,7 +2844,7 @@ bool CacheBuilder::ConstructTextRect(Text* textNode, { 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 { |