Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
index e298ec04d98628e800a7bf63d03dd500a35fdc66..68b952a8a981242ea5f6b104b1bb30cbd84d0b57 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
@@ -162,9 +162,9 @@ |
for (TextIterator marked_text(range.StartPosition(), range.EndPosition()); |
!marked_text.AtEnd(); marked_text.Advance()) { |
AddMarker(marked_text.CurrentContainer(), |
- new TextMatchMarker(marked_text.StartOffsetInCurrentContainer(), |
- marked_text.EndOffsetInCurrentContainer(), |
- match_status)); |
+ new DocumentMarker(marked_text.StartOffsetInCurrentContainer(), |
+ marked_text.EndOffsetInCurrentContainer(), |
+ match_status)); |
} |
// Don't invalidate tickmarks here. TextFinder invalidates tickmarks using a |
// throttling algorithm. crbug.com/6819. |