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 6ecd7d078b32bfd5c18da2a6a16733a41b1c8edd..bdaf15596d2a1ace93240059e5b0bbbd291b6df0 100644 |
--- a/third_party/WebKit/Source/web/TextFinder.cpp |
+++ b/third_party/WebKit/Source/web/TextFinder.cpp |
@@ -209,6 +209,7 @@ void TextFinder::stopFindingAndClearSelection() |
ownerFrame().frame()->document()->markers().removeMarkers(DocumentMarker::TextMatch); |
ownerFrame().frame()->editor().setMarkedTextMatchesAreHighlighted(false); |
clearFindMatchesCache(); |
+ resetActiveMatch(); |
// Let the frame know that we don't want tickmarks anymore. |
ownerFrame().frameView()->invalidatePaintForTickmarks(); |