Bug 121127

Summary: Use more Element iterators in SVG code.
Product: WebKit Reporter: Andreas Kling <kling>
Component: SVGAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, d-r, fmalita, gyuyoung.kim, pdr, schenney, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
koivisto: review+
Lander none

Andreas Kling
Reported 2013-09-10 15:09:28 PDT
Use more Element iterators in SVG code.
Attachments
Patch (14.42 KB, patch)
2013-09-10 15:09 PDT, Andreas Kling
koivisto: review+
Lander (14.51 KB, patch)
2013-10-10 04:59 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-09-10 15:09:59 PDT
Antti Koivisto
Comment 2 2013-09-10 15:17:06 PDT
Comment on attachment 211251 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211251&action=review > Source/WebCore/svg/SVGUseElement.cpp:615 > + for (auto it = childrenOfType<SVGElement>(target).begin(), end = childrenOfType<SVGElement>(target).end(); it != end; ++it) { I like doing auto svgChildren = childrenOfType<SVGElement>(this); for (auto it = svgChildren.begin(), end = svgChildren.end(); it != end; ++it) Keeps the for statement shorter and avoids repetition.
Andreas Kling
Comment 3 2013-10-10 04:59:55 PDT
WebKit Commit Bot
Comment 4 2013-10-10 05:18:23 PDT
Comment on attachment 213873 [details] Lander Clearing flags on attachment: 213873 Committed r157216: <http://trac.webkit.org/changeset/157216>
WebKit Commit Bot
Comment 5 2013-10-10 05:18:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.