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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.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/layout/LayoutText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
index 254510c7739945d9ee85c643adbd2fafd02c3872..cd988173ecf8f8c9027ca00b6b605c78f398bd3f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -1026,7 +1026,7 @@ static float maxWordFragmentWidth(LayoutText* layoutText,
maxFragmentWidth = std::max(maxFragmentWidth, fragmentWidth);
end = start;
}
- suffixStart = hyphenLocations.first();
+ suffixStart = hyphenLocations.front();
return maxFragmentWidth + layoutText->hyphenWidth(font, textDirection);
}

Powered by Google App Engine
This is Rietveld 408576698