diff options
author | Michael Kolb <kolby@google.com> | 2011-11-17 05:45:34 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-17 05:45:34 -0800 |
commit | 80e88c9309cad72bc5266e3f0197490c2ffe2460 (patch) | |
tree | ea918d1e78c34c4dc292be9d164ff7745c8a7e88 /Source | |
parent | 22e6e8f6e1a5a5e677269d6f7895ff49b1a8f41b (diff) | |
parent | d6945dd4dc2d427a38d75cde40767fce404f69fc (diff) | |
download | external_webkit-80e88c9309cad72bc5266e3f0197490c2ffe2460.zip external_webkit-80e88c9309cad72bc5266e3f0197490c2ffe2460.tar.gz external_webkit-80e88c9309cad72bc5266e3f0197490c2ffe2460.tar.bz2 |
am d6945dd4: Merge "Position WebTextView correctly on layers" into ics-mr1
* commit 'd6945dd4dc2d427a38d75cde40767fce404f69fc':
Position WebTextView correctly on layers
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index aea28bd..ebf416e 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -2042,7 +2042,7 @@ static jobject nativeFocusCandidateNodeBounds(JNIEnv *env, jobject obj) { const CachedFrame* frame; const CachedNode* node = getFocusCandidate(env, obj, &frame); - WebCore::IntRect bounds = node ? node->bounds(frame) + WebCore::IntRect bounds = node ? node->originalAbsoluteBounds() : 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. |