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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.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/svg/SVGTextChunkBuilder.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
index 89324cd30f22066435b990295499f62656b906bf..d16536f59e3000c2f9b2d12098aa5659de2b7e1c 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp
@@ -239,7 +239,7 @@ void SVGTextChunkBuilder::handleTextChunk(BoxListConstIterator boxStart,
if (!foundFirstFragment) {
foundFirstFragment = true;
textLengthBias =
- computeTextLengthBias(fragments.first(), textLengthScale);
+ computeTextLengthBias(fragments.front(), textLengthScale);
}
applyTextLengthScaleAdjustment(textLengthScale, textLengthBias,

Powered by Google App Engine
This is Rietveld 408576698