[Webkit-unassigned] [Bug 124999] [Texmap] TextureMapperLayer unnecessary object copying

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 19 12:28:07 PST 2014


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


Brent Fulgham <bfulgham at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #218041|review?                     |review-
               Flag|                            |




--- Comment #4 from Brent Fulgham <bfulgham at webkit.org>  2014-02-19 12:25:18 PST ---
(From update of attachment 218041)
View in context: https://bugs.webkit.org/attachment.cgi?id=218041&action=review

> Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:348
>      for (size_t i = 0; i < rects.size(); ++i) {

Please make this a C++11 loop.

> Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:369
> +        const IntRect& rect = rects[i];

Ditto.

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