WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
121127
Use more Element iterators in SVG code.
https://bugs.webkit.org/show_bug.cgi?id=121127
Summary
Use more Element iterators in SVG code.
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+
Details
Formatted Diff
Diff
Lander
(14.51 KB, patch)
2013-10-10 04:59 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-09-10 15:09:59 PDT
Created
attachment 211251
[details]
Patch
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
Created
attachment 213873
[details]
Lander
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.
Top of Page
Format For Printing
XML
Clone This Bug