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 018674b69bf29463b61bd4211d593ef71e939a3d..bf9107e6f5d9441c9b47cc5af48cafcfed45f7c3 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp |
@@ -564,7 +564,7 @@ void DocumentMarkerController::invalidateRectsForMarkersInNode( |
for (auto& marker : *markerList) |
marker->invalidate(); |
- if (markerList->first()->type() == DocumentMarker::TextMatch) |
+ if (markerList->front()->type() == DocumentMarker::TextMatch) |
invalidatePaintForTickmarks(node); |
} |
} |
@@ -579,7 +579,7 @@ void DocumentMarkerController::invalidateRectsForAllMarkers() { |
for (auto& marker : *markerList) |
marker->invalidate(); |
- if (markerList->first()->type() == DocumentMarker::TextMatch) |
+ if (markerList->front()->type() == DocumentMarker::TextMatch) |
invalidatePaintForTickmarks(node); |
} |
} |