[Webkit-unassigned] [Bug 84892] [BlackBerry] Find-in-page fails to deactivate the old active match when moving backwards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 04:47:45 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84892





--- Comment #4 from Mike Fenton <mifenton at rim.com>  2012-04-26 04:47:45 PST ---
(In reply to comment #3)
> RefPtr<Range> searchStartingPoint(m_activeMatch) seems like not making a copy of Range, but making a copy of the RefPtr itself.
> Later, when we call this line(122): searchStartingPoint->setEnd(searchStartingPoint->startPosition()); it actually changes the end position of m_activeMatch, so if we try to deactivate it, the range has been changed so marker was not found.

Yes, if you want a copy of the actual object you need to use m_activeMatch.get()

Please give that a try.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list