diff options
Diffstat (limited to 'Source/WebKit/android/nav/CachedFrame.cpp')
-rw-r--r-- | Source/WebKit/android/nav/CachedFrame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit/android/nav/CachedFrame.cpp b/Source/WebKit/android/nav/CachedFrame.cpp index 4d245d2..c51944e 100644 --- a/Source/WebKit/android/nav/CachedFrame.cpp +++ b/Source/WebKit/android/nav/CachedFrame.cpp @@ -522,13 +522,13 @@ const CachedNode* CachedFrame::findBestHitAt(const WebCore::IntRect& rect, continue; DBG_NAV_LOGD("candidate %d rect=(%d,%d,r=%d,b=%d)" " testRect=(%d,%d,r=%d,b=%d)", - test->index(), rect.x(), rect.y(), rect.right(), rect.bottom(), - testRect.x(), testRect.y(), testRect.right(), testRect.bottom()); + test->index(), rect.x(), rect.y(), rect.maxX(), rect.maxY(), + testRect.x(), testRect.y(), testRect.maxX(), testRect.maxY()); for (int i = 0; i < test->navableRects(); i++) { WebCore::IntRect cursorRect = test->ring(this, i); DBG_NAV_LOGD("candidate %d cursorRect=(%d,%d,r=%d,b=%d)", - i, cursorRect.x(), cursorRect.y(), cursorRect.right(), - cursorRect.bottom()); + i, cursorRect.x(), cursorRect.y(), cursorRect.maxX(), + cursorRect.maxY()); if (cursorRect.intersects(rect)) { WebCore::IntRect intersection(cursorRect); intersection.intersect(rect); |