Bug 163274 - Use modern for loops for iterating supplement maps
Summary: Use modern for loops for iterating supplement maps
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Konstantin Tokarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 05:04 PDT by Konstantin Tokarev
Modified: 2016-10-11 09:38 PDT (History)
4 users (show)

See Also:


Attachments
Patch (3.65 KB, patch)
2016-10-11 05:08 PDT, Konstantin Tokarev
no flags Details | Formatted Diff | Diff
Patch (4.26 KB, patch)
2016-10-11 08:27 PDT, Konstantin Tokarev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2016-10-11 05:04:07 PDT
Use modern for loops for iterating supplement maps
Comment 1 Konstantin Tokarev 2016-10-11 05:08:42 PDT
Created attachment 291247 [details]
Patch
Comment 2 Alex Christensen 2016-10-11 08:08:05 PDT
Comment on attachment 291247 [details]
Patch

Cool!  Even better would be to iterate m_supplements.values()
Comment 3 Konstantin Tokarev 2016-10-11 08:11:25 PDT
I wasn't sure if it's really better, now I know
Comment 4 Konstantin Tokarev 2016-10-11 08:27:07 PDT
Created attachment 291260 [details]
Patch
Comment 5 WebKit Commit Bot 2016-10-11 09:38:36 PDT
Comment on attachment 291260 [details]
Patch

Clearing flags on attachment: 291260

Committed r207145: <http://trac.webkit.org/changeset/207145>
Comment 6 WebKit Commit Bot 2016-10-11 09:38:40 PDT
All reviewed patches have been landed.  Closing bug.