summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-11-15 15:39:50 -0800
committerMichael Kolb <kolby@google.com>2011-11-15 15:55:38 -0800
commit70d105810a06e7cb69f606635b916694ab15b4dc (patch)
tree9c0800e9d1071354dae8feda665d55ac23365568 /Source
parent292448625cf74fa0cbb6776572d5b116d2e7eb15 (diff)
downloadexternal_webkit-70d105810a06e7cb69f606635b916694ab15b4dc.zip
external_webkit-70d105810a06e7cb69f606635b916694ab15b4dc.tar.gz
external_webkit-70d105810a06e7cb69f606635b916694ab15b4dc.tar.bz2
Position WebTextView correctly on layers
Bug: 5550648 Change-Id: If3d59e0d197e9383b64f6a9e17d94e022044b5c3
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/android/nav/WebView.cpp2
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.