[Webkit-unassigned] [Bug 123699] [CSSRegions] Use auto keyword to clean-up for loops

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 3 07:19:07 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=123699


Anders Carlsson <andersca at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #215853|review?                     |review+
               Flag|                            |




--- Comment #2 from Anders Carlsson <andersca at apple.com>  2013-11-03 07:17:53 PST ---
(From update of attachment 215853)
View in context: https://bugs.webkit.org/attachment.cgi?id=215853&action=review

> Source/WebCore/rendering/RenderRegion.cpp:538
> +    for (auto iter = m_renderObjectRegionStyle.begin(), end = m_renderObjectRegionStyle.end(); iter != end; ++iter) {

I think you should change the other loops to have the end iterator in a local variable as well, since you're changing them anyway.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list