diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 19:47:31 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 19:47:31 +0000 |
commit | 84140f23d6732ba99dd147bc71ae0a044549c50c (patch) | |
tree | 727eec348e7bd75a329d50ab15de1ca9e59c57b9 /webkit/glue/webframe_impl.cc | |
parent | 72e6216d6db17ee1b67cf0110240f635c1bec38f (diff) | |
download | chromium_src-84140f23d6732ba99dd147bc71ae0a044549c50c.zip chromium_src-84140f23d6732ba99dd147bc71ae0a044549c50c.tar.gz chromium_src-84140f23d6732ba99dd147bc71ae0a044549c50c.tar.bz2 |
Temporary fix on Finnur's behalf to make find useful until bigger fix is
done.
Review URL: http://codereview.chromium.org/10881
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe_impl.cc')
-rw-r--r-- | webkit/glue/webframe_impl.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc index 68deb43..653cf23 100644 --- a/webkit/glue/webframe_impl.cc +++ b/webkit/glue/webframe_impl.cc @@ -861,7 +861,8 @@ bool WebFrameImpl::Find(const FindInPageRequest& request, } else { last_active_range_ = new_selection.toRange(); active_selection_rect_ = new_selection.toRange()->boundingBox(); - ClearSelection(); // We'll draw our own highlight for the active item. + // TODO(finnur): Uncomment this when bug http://crbug.com/3908 is fixed. + // ClearSelection(); // We'll draw our own highlight for the active item. #if defined(OS_WIN) // TODO(pinkerton): Fix Mac scrolling to be more like Win ScrollView @@ -965,7 +966,8 @@ bool WebFrameImpl::FindNext(const FindInPageRequest& request, // Make sure we save where the selection was after the operation so that // we can set the selection to it for the next Find operation (if needed). last_active_range_ = tickmarks_[active_tickmark_]; - ClearSelection(); // We will draw our own highlighting. + // TODO(finnur): Uncomment this when bug http://crbug.com/3908 is fixed. + // ClearSelection(); // We will draw our own highlighting. #if defined(OS_WIN) // TODO(pinkerton): Fix Mac invalidation to be more like Win ScrollView |