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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (Closed)
Patch Set: rebase Created 4 years, 1 month 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/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);
}
}

Powered by Google App Engine
This is Rietveld 408576698