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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.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/svg/LayoutSVGModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
index e7bd6bf952317d84ea93107d693f95ba6a602562..201d32b72b48f98ec0690459333a348cfc0b18f6 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -80,12 +80,12 @@ void LayoutSVGModelObject::absoluteRects(
const LayoutPoint& accumulatedOffset) const {
IntRect rect = enclosingIntRect(strokeBoundingBox());
rect.moveBy(roundedIntPoint(accumulatedOffset));
- rects.append(rect);
+ rects.push_back(rect);
}
void LayoutSVGModelObject::absoluteQuads(Vector<FloatQuad>& quads,
MapCoordinatesFlags mode) const {
- quads.append(localToAbsoluteQuad(strokeBoundingBox(), mode));
+ quads.push_back(localToAbsoluteQuad(strokeBoundingBox(), mode));
}
FloatRect LayoutSVGModelObject::localBoundingBoxRectForAccessibility() const {

Powered by Google App Engine
This is Rietveld 408576698