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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPainter.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/paint/ObjectPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
index 00b1c4d2e0ca3867e5e260152bb22f28c877cc1c..1e8fdea6ebf09a7a26a567af518c918aa30a87ac 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
@@ -174,7 +174,7 @@ void paintComplexOutline(GraphicsContext& graphicsContext,
}
DCHECK(count >= 4 && edges.size() == count);
- int firstAdjacentWidth = adjustJoint(width, edges.back(), edges.first());
+ int firstAdjacentWidth = adjustJoint(width, edges.back(), edges.front());
// The width of the angled part of starting and ending joint of the current
// edge.

Powered by Google App Engine
This is Rietveld 408576698