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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 30482ff4660dd2e0a4dbfeef99ed4884f426c540..aa76528cb22dc03b32dd23f38dab1d56a852b582 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1094,8 +1094,8 @@ void Internals::setMarkersActive(Node* node,
unsigned endOffset,
bool active) {
DCHECK(node);
- node->document().markers().setMarkersActive(node, startOffset, endOffset,
- active);
+ node->document().markers().setTextMatchMarkersActive(node, startOffset,
+ endOffset, active);
}
void Internals::setMarkedTextMatchesAreHighlighted(Document* document,

Powered by Google App Engine
This is Rietveld 408576698