diff options
author | Michael Kolb <kolby@google.com> | 2011-11-16 10:34:38 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-16 10:34:38 -0800 |
commit | d6945dd4dc2d427a38d75cde40767fce404f69fc (patch) | |
tree | ebe136cb51a6e19d3dbc1c1560eb9883cc16598f /Source | |
parent | 73a306c4d2dd650b9a083deb6362fc6ba3cf9032 (diff) | |
parent | 70d105810a06e7cb69f606635b916694ab15b4dc (diff) | |
download | external_webkit-d6945dd4dc2d427a38d75cde40767fce404f69fc.zip external_webkit-d6945dd4dc2d427a38d75cde40767fce404f69fc.tar.gz external_webkit-d6945dd4dc2d427a38d75cde40767fce404f69fc.tar.bz2 |
Merge "Position WebTextView correctly on layers" into ics-mr1
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. |