| Index: third_party/WebKit/Source/web/TextFinder.cpp
|
| diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp
|
| index fc1e10c7ecd369f9dc82a4d8c4b8860e217d61d7..cfd3ce9c49788341312d696624f220db2da93e70 100644
|
| --- a/third_party/WebKit/Source/web/TextFinder.cpp
|
| +++ b/third_party/WebKit/Source/web/TextFinder.cpp
|
| @@ -374,6 +374,8 @@ void TextFinder::scopeStringMatchesAlgorithm(int identifier, const WebString& se
|
|
|
| m_lastMatchCount += matchCount;
|
|
|
| + ownerFrame().client()->reportFindInFrameMatchCount(identifier, m_lastMatchCount, false);
|
| +
|
| // Let the mainframe know how much we found during this pass.
|
| mainFrameImpl->increaseMatchCount(matchCount, identifier);
|
| }
|
| @@ -420,6 +422,8 @@ void TextFinder::finishCurrentScopingEffort(int identifier)
|
| m_scopingInProgress = false;
|
| m_lastFindRequestCompletedWithNoMatches = !m_lastMatchCount;
|
|
|
| + ownerFrame().client()->reportFindInFrameMatchCount(identifier, m_lastMatchCount, true);
|
| +
|
| // This frame is done, so show any scrollbar tickmarks we haven't drawn yet.
|
| ownerFrame().frameView()->invalidatePaintForTickmarks();
|
| }
|
|
|