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

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

Issue 2723663002: Refactor DocumentMarkerController (Closed)
Patch Set: Created 3 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 65e476d2471022e7ea0173479d2fe8755a2e0bcd..5b3d61125dd39ef61360a3bbf92e8c5014b635d5 100644
--- a/third_party/WebKit/Source/web/TextFinder.cpp
+++ b/third_party/WebKit/Source/web/TextFinder.cpp
@@ -694,7 +694,7 @@ TextFinder::~TextFinder() {}
bool TextFinder::setMarkerActive(Range* range, bool active) {
if (!range || range->collapsed())
return false;
- return ownerFrame().frame()->document()->markers().setMarkersActive(
+ return ownerFrame().frame()->document()->markers().setTextMatchMarkersActive(
EphemeralRange(range), active);
}

Powered by Google App Engine
This is Rietveld 408576698