summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-11-11 10:28:34 -0800
committerMichael Kolb <kolby@google.com>2011-11-11 10:28:34 -0800
commite5c39206de45588678bf718a8274432068d702f6 (patch)
treea905fdcb9b407363ba9c6c93269cd9518e3eddcd /Source
parent0de683c1b300c8e788c178c63b7dc71189c0a3d8 (diff)
downloadexternal_webkit-e5c39206de45588678bf718a8274432068d702f6.zip
external_webkit-e5c39206de45588678bf718a8274432068d702f6.tar.gz
external_webkit-e5c39206de45588678bf718a8274432068d702f6.tar.bz2
Remove inset for WebTextView
Bug: 5383911 By removing the inset we cover webkit's text field completely Change-Id: Ib3edf21beb4e26b38b2195a9e336523336f26eb7
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/android/nav/WebView.cpp4
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)