diff options
author | Michael Kolb <kolby@google.com> | 2011-11-11 13:59:11 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-11 13:59:11 -0800 |
commit | 566b9cb37411be53220cc0b97f87d3a8abe636dd (patch) | |
tree | 8d0f680dc11307dd4c3071979c2ca0d37aadc350 /Source/WebKit/android/nav/WebView.cpp | |
parent | 916501be8092011779af20c29d477c0bbd4e9460 (diff) | |
parent | e5c39206de45588678bf718a8274432068d702f6 (diff) | |
download | external_webkit-566b9cb37411be53220cc0b97f87d3a8abe636dd.zip external_webkit-566b9cb37411be53220cc0b97f87d3a8abe636dd.tar.gz external_webkit-566b9cb37411be53220cc0b97f87d3a8abe636dd.tar.bz2 |
am e5c39206: Remove inset for WebTextView
* commit 'e5c39206de45588678bf718a8274432068d702f6':
Remove inset for WebTextView
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index d852790..59fd6da 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -2046,8 +2046,8 @@ static jobject nativeFocusCandidateNodeBounds(JNIEnv *env, jobject obj) : WebCore::IntRect(0, 0, 0, 0); // Inset the rect by 1 unit, so that the focus candidate's border can still // be seen behind it. - return createJavaRect(env, bounds.x() + 1, bounds.y() + 1, - bounds.maxX() - 1, bounds.maxY() - 1); + return createJavaRect(env, bounds.x(), bounds.y(), + bounds.maxX(), bounds.maxY()); } static jobject nativeFocusCandidatePaddingRect(JNIEnv *env, jobject obj) |