From 84140f23d6732ba99dd147bc71ae0a044549c50c Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Thu, 13 Nov 2008 19:47:31 +0000 Subject: 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 --- webkit/glue/webframe_impl.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'webkit/glue/webframe_impl.cc') 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 -- cgit v1.1