Index: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerList.cpp |
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerList.cpp b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerList.cpp |
index 6bf395ad1c9f0d3909154a71d4898e42ee72526e..8c533337b6a9bcad89387d4713e0006a3f312675 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerList.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerList.cpp |
@@ -51,7 +51,7 @@ bool TextMatchMarkerList::setTextMatchMarkersActive(unsigned startOffset, |
bool docDirty = false; |
for (auto it = getPosOfFirstMarkerNotEndingBefore(startOffset); |
it != m_markers.end(); ++it) { |
- DocumentMarker& marker = **it; |
+ TextMatchMarker& marker = toTextMatchMarker(**it); |
// Markers are stored in order, so stop if we are now past the specified |
// range. |
if (marker.startOffset() >= endOffset) |