diff options
author | Leon Scroggins <scroggo@google.com> | 2009-07-31 15:11:35 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-07-31 15:28:09 -0400 |
commit | 51c0d4c6b1b74fff7336d81451ba7d2fc132e31c (patch) | |
tree | 4b02d56c7c285fd261299835b325498372628210 /V8Binding | |
parent | fa768f11d82c34980cce020f442329299efb08ca (diff) | |
download | external_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