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

Unified Diff: third_party/WebKit/Source/platform/geometry/Region.cpp

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (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/platform/geometry/Region.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/Region.cpp b/third_party/WebKit/Source/platform/geometry/Region.cpp
index ab0b53e252d579719bf7d8b5880a5e6ca7bcb18d..3706255db66361f83fe5208985f63d219a10fd6b 100644
--- a/third_party/WebKit/Source/platform/geometry/Region.cpp
+++ b/third_party/WebKit/Source/platform/geometry/Region.cpp
@@ -247,7 +247,7 @@ bool Region::Shape::canCoalesce(SegmentIterator begin, SegmentIterator end) {
return false;
SegmentIterator lastSpanBegin =
- m_segments.data() + m_spans.last().segmentIndex;
+ m_segments.data() + m_spans.back().segmentIndex;
SegmentIterator lastSpanEnd = m_segments.data() + m_segments.size();
// Check if both spans have an equal number of segments.

Powered by Google App Engine
This is Rietveld 408576698