diff options
author | John Reck <jreck@google.com> | 2011-10-13 17:06:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-10-13 17:07:38 -0700 |
commit | 32a0e726914a659afb4a9a1fedf99fa80df0d54b (patch) | |
tree | 38b14668f619e7824da166bc64c3c6cf27238819 /Source/WebCore/platform | |
parent | 0557c56c5b00819cf14bf29948b6d9edd1e937f2 (diff) | |
download | external_webkit-32a0e726914a659afb4a9a1fedf99fa80df0d54b.zip external_webkit-32a0e726914a659afb4a9a1fedf99fa80df0d54b.tar.gz external_webkit-32a0e726914a659afb4a9a1fedf99fa80df0d54b.tar.bz2 |
Fix navcache to work with layers for rings
Bug: 5453034
Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0
Diffstat (limited to 'Source/WebCore/platform')
-rw-r--r-- | Source/WebCore/platform/graphics/android/android_graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/android_graphics.cpp b/Source/WebCore/platform/graphics/android/android_graphics.cpp index e50cfec..e255d29 100644 --- a/Source/WebCore/platform/graphics/android/android_graphics.cpp +++ b/Source/WebCore/platform/graphics/android/android_graphics.cpp @@ -132,19 +132,19 @@ void CursorRing::setIsButton(const CachedNode* node) bool CursorRing::setup() { - m_node->localCursorRings(m_frame, &m_rings); + m_node->cursorRings(m_frame, &m_rings); if (!m_rings.size()) { DBG_NAV_LOG("!rings.size()"); m_viewImpl->m_hasCursorBounds = false; return false; } setIsButton(m_node); - m_bounds = m_node->localBounds(m_frame); + m_bounds = m_node->bounds(m_frame); m_viewImpl->updateCursorBounds(m_root, m_frame, m_node); bool useHitBounds = m_node->useHitBounds(); if (useHitBounds) - m_bounds = m_node->localHitBounds(m_frame); + m_bounds = m_node->hitBounds(m_frame); if (useHitBounds || m_node->useBounds()) { m_rings.clear(); m_rings.append(m_bounds); |