summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-11-10 12:13:23 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-10 12:13:23 -0800
commit73613378eed9c807eb3c8316fc5ce6e22aa6168c (patch)
tree6bb3d8e5beada4de837cc406c9031375d0484451 /WebKit/android
parent67f5008b55a0b63876a1b9c6d83866ab205b05f9 (diff)
parentd72c08f36364e1b4d6fe4e07a63f23191aae2945 (diff)
downloadexternal_webkit-73613378eed9c807eb3c8316fc5ce6e22aa6168c.zip
external_webkit-73613378eed9c807eb3c8316fc5ce6e22aa6168c.tar.gz
external_webkit-73613378eed9c807eb3c8316fc5ce6e22aa6168c.tar.bz2
Merge "build select region for one character"
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/nav/SelectText.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/android/nav/SelectText.cpp b/WebKit/android/nav/SelectText.cpp
index 4af9521..e606f62 100644
--- a/WebKit/android/nav/SelectText.cpp
+++ b/WebKit/android/nav/SelectText.cpp
@@ -830,6 +830,8 @@ public:
if (VERBOSE_LOGGING) DBG_NAV_LOGD("full == mEnd full=(%d,%d,r=%d,b=%d)",
full.fLeft, full.fTop, full.fRight, full.fBottom);
mCapture = false;
+ if (full == mStart)
+ addLastToRegion();
}
return false;
}