Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/web/TextFinder.cpp

Issue 1707083002: Fix find in page behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android_webview test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698