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

Unified Diff: third_party/WebKit/Source/core/frame/SmartClip.cpp

Issue 2585283002: Migrate WTF::Vector::append() to ::push_back() [part 6 of N] (Closed)
Patch Set: Created 4 years 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/frame/SmartClip.cpp
diff --git a/third_party/WebKit/Source/core/frame/SmartClip.cpp b/third_party/WebKit/Source/core/frame/SmartClip.cpp
index c8d6c39da4af8eca7d68722a63f3207921e669e8..c12b286334032d6c285f4805d3296242e23d2cd0 100644
--- a/third_party/WebKit/Source/core/frame/SmartClip.cpp
+++ b/third_party/WebKit/Source/core/frame/SmartClip.cpp
@@ -88,7 +88,7 @@ SmartClipData SmartClip::dataForRect(const IntRect& cropRectInViewport) {
if (hitNodes.isEmpty() || hitNodes.size() == bestNode->countChildren()) {
hitNodes.clear();
- hitNodes.append(bestNode);
+ hitNodes.push_back(bestNode);
}
// Unite won't work with the empty rect, so we initialize to the first rect.
@@ -229,7 +229,7 @@ void SmartClip::collectOverlappingChildNodes(
child = child->nextSibling()) {
IntRect childRect = child->pixelSnappedBoundingBox();
if (resizedCropRect.intersects(childRect))
- hitNodes.append(child);
+ hitNodes.push_back(child);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.cpp ('k') | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698