| 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 8cd0d33717f0d66394748998066a36de241fc416..916a97a2058cc8660daabdba0ce5d02feb694bec 100644
|
| --- a/third_party/WebKit/Source/web/TextFinder.cpp
|
| +++ b/third_party/WebKit/Source/web/TextFinder.cpp
|
| @@ -360,7 +360,7 @@ void TextFinder::scopeStringMatches(int identifier, const WebString& searchText,
|
| identifier);
|
| }
|
|
|
| - addMarker(resultRange, foundActiveMatch);
|
| + ownerFrame().frame()->document()->markers().addTextMatchMarker(resultRange, foundActiveMatch);
|
|
|
| m_findMatchesCache.append(FindMatch(resultRange, m_lastMatchCount + matchCount));
|
|
|
| @@ -656,11 +656,6 @@ TextFinder::~TextFinder()
|
| {
|
| }
|
|
|
| -void TextFinder::addMarker(Range* range, bool activeMatch)
|
| -{
|
| - ownerFrame().frame()->document()->markers().addTextMatchMarker(range, activeMatch);
|
| -}
|
| -
|
| bool TextFinder::setMarkerActive(Range* range, bool active)
|
| {
|
| if (!range || range->collapsed())
|
|
|