diff options
author | Cary Clark <cary@android.com> | 2010-11-10 15:07:49 -0500 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-11-10 15:07:49 -0500 |
commit | d72c08f36364e1b4d6fe4e07a63f23191aae2945 (patch) | |
tree | 6dd421ab82b86e4ef98990688072fb8884820001 | |
parent | 0365fb946423581e27fa71021dd0e5c422378f60 (diff) | |
download | external_webkit-d72c08f36364e1b4d6fe4e07a63f23191aae2945.zip external_webkit-d72c08f36364e1b4d6fe4e07a63f23191aae2945.tar.gz external_webkit-d72c08f36364e1b4d6fe4e07a63f23191aae2945.tar.bz2 |
build select region for one character
bug:3183119
Change-Id: Iebd070feeb9c9a52e0d6214563c378647d97b977
-rw-r--r-- | WebKit/android/nav/SelectText.cpp | 2 |
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; } |