| Index: Source/web/TextFinder.cpp
|
| diff --git a/Source/web/TextFinder.cpp b/Source/web/TextFinder.cpp
|
| index 4a12362886c3429f00a1dbc966cad2c34f457a0c..120cb3ee6b34ef0490b773f6dac8215552bc18aa 100644
|
| --- a/Source/web/TextFinder.cpp
|
| +++ b/Source/web/TextFinder.cpp
|
| @@ -191,7 +191,6 @@ bool TextFinder::find(int identifier, const WebString& searchText, const WebFind
|
| if (selectionRect) {
|
| *selectionRect = ownerFrame().frameView()->contentsToWindow(m_activeMatch->boundingBox());
|
| reportFindInPageSelection(*selectionRect, m_activeMatchIndexInCurrentFrame + 1, identifier);
|
| - reportFindInPageResultToAccessibility(identifier);
|
| }
|
| }
|
|
|
| @@ -449,6 +448,10 @@ void TextFinder::reportFindInPageSelection(const WebRect& selectionRect, int act
|
| // Update the UI with the latest selection rect.
|
| if (ownerFrame().client())
|
| ownerFrame().client()->reportFindInPageSelection(identifier, ordinalOfFirstMatch() + activeMatchOrdinal, selectionRect);
|
| +
|
| + // Update accessibility too, so if the user commits to this query
|
| + // we can move accessibility focus to this result.
|
| + reportFindInPageResultToAccessibility(identifier);
|
| }
|
|
|
| void TextFinder::resetMatchCount()
|
|
|