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

Unified Diff: third_party/WebKit/Source/core/dom/Range.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/dom/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index 57fed6e04e3cc39acb03cf4d4a300e565bfc6f2f..0e968f11cd8694256cbf8e6b8470887fb6c102ad 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1686,7 +1686,7 @@ FloatRect Range::boundingRect() const {
// If all rects are empty, return the first rect.
if (result.isEmpty() && !quads.isEmpty())
- return quads.first().boundingBox();
+ return quads.front().boundingBox();
return result;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/MutationObserver.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698