summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedRoot.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-04-22 13:24:19 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 13:24:19 -0700
commit68b8e349574b5d6db35108cbb5236133b99eeaa6 (patch)
tree7c08fce0e3ae0295ddde48b7ce578025db7f52d1 /WebKit/android/nav/CachedRoot.cpp
parent3c27e79b9a94ccd27938cffbf5abcef20f5716f5 (diff)
parent0f92e845ed6499088958acf229f196ad67965f63 (diff)
downloadexternal_webkit-68b8e349574b5d6db35108cbb5236133b99eeaa6.zip
external_webkit-68b8e349574b5d6db35108cbb5236133b99eeaa6.tar.gz
external_webkit-68b8e349574b5d6db35108cbb5236133b99eeaa6.tar.bz2
am 0f92e845: am 55ab51c0: Merge "nextTextField may walk off the end or try invalid frames" into froyo
Merge commit '0f92e845ed6499088958acf229f196ad67965f63' into kraken * commit '0f92e845ed6499088958acf229f196ad67965f63': nextTextField may walk off the end or try invalid frames
Diffstat (limited to 'WebKit/android/nav/CachedRoot.cpp')
-rw-r--r--WebKit/android/nav/CachedRoot.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebKit/android/nav/CachedRoot.cpp b/WebKit/android/nav/CachedRoot.cpp
index 71c0993..115a0f9 100644
--- a/WebKit/android/nav/CachedRoot.cpp
+++ b/WebKit/android/nav/CachedRoot.cpp
@@ -1288,6 +1288,13 @@ const CachedNode* CachedRoot::moveCursor(Direction direction, const CachedFrame*
return const_cast<CachedNode*>(bestData.mNode);
}
+const CachedNode* CachedRoot::nextTextField(const CachedNode* start,
+ const CachedFrame** framePtr) const
+{
+ bool startFound = false;
+ return CachedFrame::nextTextField(start, framePtr, &startFound);
+}
+
SkPicture* CachedRoot::pictureAt(int x, int y) const
{
#if USE(ACCELERATED_COMPOSITING)