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

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

Issue 2897493002: Rename DMC::SetMarkersActive() to SetTextMatchMarkersActive() (Closed)
Patch Set: Revert change to rename whitelist file Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6d4970ac512c9e644380488a965d6714ca96ab87..ee0bd074f8da6172b2e622a3e4730ecf0c2a0307 100644
--- a/third_party/WebKit/Source/web/TextFinder.cpp
+++ b/third_party/WebKit/Source/web/TextFinder.cpp
@@ -703,8 +703,11 @@ TextFinder::~TextFinder() {}
bool TextFinder::SetMarkerActive(Range* range, bool active) {
if (!range || range->collapsed())
return false;
- return OwnerFrame().GetFrame()->GetDocument()->Markers().SetMarkersActive(
- EphemeralRange(range), active);
+ return OwnerFrame()
+ .GetFrame()
+ ->GetDocument()
+ ->Markers()
+ .SetTextMatchMarkersActive(EphemeralRange(range), active);
}
void TextFinder::UnmarkAllTextMatches() {
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698