summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-06-17 11:14:02 -0400
committerCary Clark <cary@android.com>2009-06-17 11:50:40 -0400
commit1729d826cf278fcb3507263d93a01b90a8f88fc6 (patch)
treed6a5d75e469ddf415a18c44ccd5bb574a9d89531 /WebKit/android/nav
parent8e9932d793b751bd6a2c1150bf273867f40c5f55 (diff)
downloadexternal_webkit-1729d826cf278fcb3507263d93a01b90a8f88fc6.zip
external_webkit-1729d826cf278fcb3507263d93a01b90a8f88fc6.tar.gz
external_webkit-1729d826cf278fcb3507263d93a01b90a8f88fc6.tar.bz2
try again to disable webkit fix for gmail
also, set hasCursorBounds only if cursor ring is visible
Diffstat (limited to 'WebKit/android/nav')
-rw-r--r--WebKit/android/nav/WebView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp
index 8df6e23..da1d27b 100644
--- a/WebKit/android/nav/WebView.cpp
+++ b/WebKit/android/nav/WebView.cpp
@@ -680,7 +680,7 @@ bool moveCursor(int keyCode, int count, bool ignoreScroll)
}
if (cachedNode) {
m_viewImpl->gCursorBoundsMutex.lock();
- m_viewImpl->m_hasCursorBounds = true;
+ m_viewImpl->m_hasCursorBounds = cachedNode->hasCursorRing();
m_viewImpl->m_cursorBounds = cachedNode->bounds();
m_viewImpl->m_cursorNode = cachedNode->nodePointer();
m_viewImpl->gCursorBoundsMutex.unlock();