OSDN Git Service

adjust right edge of copy bounds if edge is not found
authorCary Clark <cary@android.com>
Tue, 21 Jul 2009 20:42:59 +0000 (16:42 -0400)
committerCary Clark <cary@android.com>
Tue, 21 Jul 2009 20:42:59 +0000 (16:42 -0400)
commit70522f5f5fb44f2f4df7a08aa64263c619e299cb
tree843aad38e9d14fab883e858e55a797607362d64d
parentfbb3cf06215bcef4e6f43d2b15d6c92b66c75a13
adjust right edge of copy bounds if edge is not found

Sometimes the right edge of the copy rectangle misses the
right-most character to be copied. An earlier change over-
compensated by moving the edge boundary by 2. Now, move
the edge boundary by 1, and if that fails, try 2.
WebKit/android/jni/WebViewCore.cpp