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

Unified Diff: third_party/WebKit/Source/core/html/TimeRanges.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/html/TimeRanges.cpp
diff --git a/third_party/WebKit/Source/core/html/TimeRanges.cpp b/third_party/WebKit/Source/core/html/TimeRanges.cpp
index 5f278deb00d197ff907ed183e8b8c8c1ff434d70..c1a15e48a511f475c069a139530dc541b2e29665 100644
--- a/third_party/WebKit/Source/core/html/TimeRanges.cpp
+++ b/third_party/WebKit/Source/core/html/TimeRanges.cpp
@@ -65,7 +65,7 @@ void TimeRanges::invert() {
if (!m_ranges.size()) {
inverted->add(negInf, posInf);
} else {
- double start = m_ranges.first().m_start;
+ double start = m_ranges.front().m_start;
if (start != negInf)
inverted->add(negInf, start);

Powered by Google App Engine
This is Rietveld 408576698