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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 of N] (Closed)
Patch Set: rebase Created 3 years, 11 months 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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 269ad5bb07092e2f6d9ab4d97ddcf9000953944d..640871bde53c6682b6121467de4a26019b66184d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -406,7 +406,7 @@ void LayoutView::computeSelfHitTestRects(Vector<LayoutRect>& rects,
// just use the viewport size (containing block) here because we want to
// ensure this includes all children (so we can avoid walking them
// explicitly).
- rects.append(
+ rects.push_back(
LayoutRect(LayoutPoint::zero(), LayoutSize(frameView()->contentsSize())));
}
@@ -527,13 +527,13 @@ LayoutSize LayoutView::offsetForFixedPosition(bool includePendingScroll) const {
void LayoutView::absoluteRects(Vector<IntRect>& rects,
const LayoutPoint& accumulatedOffset) const {
- rects.append(
+ rects.push_back(
pixelSnappedIntRect(accumulatedOffset, LayoutSize(layer()->size())));
}
void LayoutView::absoluteQuads(Vector<FloatQuad>& quads,
MapCoordinatesFlags mode) const {
- quads.append(localToAbsoluteQuad(
+ quads.push_back(localToAbsoluteQuad(
FloatRect(FloatPoint(), FloatSize(layer()->size())), mode));
}

Powered by Google App Engine
This is Rietveld 408576698