From e5c39206de45588678bf718a8274432068d702f6 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Fri, 11 Nov 2011 10:28:34 -0800 Subject: Remove inset for WebTextView Bug: 5383911 By removing the inset we cover webkit's text field completely Change-Id: Ib3edf21beb4e26b38b2195a9e336523336f26eb7 --- Source/WebKit/android/nav/WebView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/WebKit/android/nav/WebView.cpp') 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) -- cgit v1.1