summaryrefslogtreecommitdiffstats
path: root/V8Binding
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-07-31 15:11:35 -0400
committerLeon Scroggins <scroggo@google.com>2009-07-31 15:28:09 -0400
commit51c0d4c6b1b74fff7336d81451ba7d2fc132e31c (patch)
tree4b02d56c7c285fd261299835b325498372628210 /V8Binding
parentfa768f11d82c34980cce020f442329299efb08ca (diff)
downloadexternal_webkit-51c0d4c6b1b74fff7336d81451ba7d2fc132e31c.zip
external_webkit-51c0d4c6b1b74fff7336d81451ba7d2fc132e31c.tar.gz
external_webkit-51c0d4c6b1b74fff7336d81451ba7d2fc132e31c.tar.bz2
Fix a bug in find.
Fix for http://b/issue?id=2021424. When trying to draw the matches, if we find that the page needs to be scrolled to put the match on screen, we request a scroll, do a viewInvalidate and stop, so that the matches will be drawn after the invalidate. Unfortunately, for some values, we do not end up scrolling, because contentToView turns the scroll into a no op. So we forever request scrolls, and never draw the matches. Fix this by getting a return value from scrollBy, and if it returned false, go ahead and draw the matches.
Diffstat (limited to 'V8Binding')
0 files changed, 0 insertions, 0 deletions