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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 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/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 8f2680f107e4dab4ee25d3d674aeccc9975af315..081d5ed6083e51b6a73e71b4bddbfcc3ddbf2afd 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -2054,7 +2054,7 @@ void PaintLayerScrollableArea::PreventRelayoutScope::setBoxNeedsLayout(
if (!s_needsRelayout)
s_needsRelayout =
new PersistentHeapVector<Member<PaintLayerScrollableArea>>();
- s_needsRelayout->append(&scrollableArea);
+ s_needsRelayout->push_back(&scrollableArea);
}
void PaintLayerScrollableArea::PreventRelayoutScope::resetRelayoutNeeded() {
@@ -2088,7 +2088,7 @@ void PaintLayerScrollableArea::DelayScrollOffsetClampScope::setNeedsClamp(
PaintLayerScrollableArea* scrollableArea) {
if (!scrollableArea->needsScrollOffsetClamp()) {
scrollableArea->setNeedsScrollOffsetClamp(true);
- s_needsClamp->append(scrollableArea);
+ s_needsClamp->push_back(scrollableArea);
}
}

Powered by Google App Engine
This is Rietveld 408576698