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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 void LayoutSVGContainer::paint(const PaintInfo& paintInfo, 164 void LayoutSVGContainer::paint(const PaintInfo& paintInfo,
165 const LayoutPoint&) const { 165 const LayoutPoint&) const {
166 SVGContainerPainter(*this).paint(paintInfo); 166 SVGContainerPainter(*this).paint(paintInfo);
167 } 167 }
168 168
169 void LayoutSVGContainer::addOutlineRects( 169 void LayoutSVGContainer::addOutlineRects(
170 Vector<LayoutRect>& rects, 170 Vector<LayoutRect>& rects,
171 const LayoutPoint&, 171 const LayoutPoint&,
172 IncludeBlockVisualOverflowOrNot) const { 172 IncludeBlockVisualOverflowOrNot) const {
173 rects.append(LayoutRect(visualRectInLocalSVGCoordinates())); 173 rects.push_back(LayoutRect(visualRectInLocalSVGCoordinates()));
174 } 174 }
175 175
176 void LayoutSVGContainer::updateCachedBoundaries() { 176 void LayoutSVGContainer::updateCachedBoundaries() {
177 SVGLayoutSupport::computeContainerBoundingBoxes( 177 SVGLayoutSupport::computeContainerBoundingBoxes(
178 this, m_objectBoundingBox, m_objectBoundingBoxValid, m_strokeBoundingBox, 178 this, m_objectBoundingBox, m_objectBoundingBoxValid, m_strokeBoundingBox,
179 m_localVisualRect); 179 m_localVisualRect);
180 if (element()) 180 if (element())
181 element()->setNeedsResizeObserverUpdate(); 181 element()->setNeedsResizeObserverUpdate();
182 } 182 }
183 183
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // under the pointer (i.e., there is no target element), the event is not 218 // under the pointer (i.e., there is no target element), the event is not
219 // dispatched." 219 // dispatched."
220 return false; 220 return false;
221 } 221 }
222 222
223 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() { 223 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() {
224 return SVGTransformChange::None; 224 return SVGTransformChange::None;
225 } 225 }
226 226
227 } // namespace blink 227 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_units.cc ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698