diff options
author | Cary Clark <cary@android.com> | 2011-02-24 11:42:44 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-24 11:42:44 -0800 |
commit | e0e009dfaf094b7a20b26939877862fdf1cb6cfe (patch) | |
tree | 51f52a5d2f668ca65331e4983f6fd38b6244058b /WebKit/android/nav | |
parent | 94f12574c74b11db011b994e462f64a112952a47 (diff) | |
parent | 1ea22c6c86bd450b047ab866b7d566600831b77c (diff) | |
download | external_webkit-e0e009dfaf094b7a20b26939877862fdf1cb6cfe.zip external_webkit-e0e009dfaf094b7a20b26939877862fdf1cb6cfe.tar.gz external_webkit-e0e009dfaf094b7a20b26939877862fdf1cb6cfe.tar.bz2 |
Merge "bias towards space in select text"
Diffstat (limited to 'WebKit/android/nav')
-rw-r--r-- | WebKit/android/nav/SelectText.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/nav/SelectText.cpp b/WebKit/android/nav/SelectText.cpp index 5ed5c21..1524058 100644 --- a/WebKit/android/nav/SelectText.cpp +++ b/WebKit/android/nav/SelectText.cpp @@ -271,7 +271,7 @@ public: SkFixedToScalar(posNoSpace), SkFixedToScalar(diffNoSpace), SkFixedToScalar(posWithSpace), SkFixedToScalar(diffWithSpace), mLastPaint.getTextSize()); - return diffWithSpace < diffNoSpace; + return diffWithSpace <= diffNoSpace; } SkFixed minSpaceWidth(SkPaint& paint) |