[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 08:00:13 PST 2013


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





--- Comment #3 from Mihnea Ovidenie <mihnea at adobe.com>  2013-11-03 07:58:59 PST ---
(In reply to comment #2)
> (From update of attachment 215853 [details])
> 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.

Sure, thanks for the review.

-- 
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