[Webkit-unassigned] [Bug 129539] Fix srcset related bugs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 1 14:26:57 PST 2014


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


Andreas Kling <akling at apple.com> changed:

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




--- Comment #4 from Andreas Kling <akling at apple.com>  2014-03-01 14:24:02 PST ---
(From update of attachment 225548)
View in context: https://bugs.webkit.org/attachment.cgi?id=225548&action=review

r=me!

> Source/WebCore/html/parser/HTMLParserIdioms.cpp:-401
> -    for (size_t i = 0; i < imageCandidates.size() - 1; ++i) {
> +    for (size_t i = 0; i < imageCandidates.size() - 1; ++i)
>          if (imageCandidates[i].scaleFactor() >= deviceScaleFactor)
>              return imageCandidates[i];
> -    }

WebKit style is to keep the { } braces here since there is more than one line inside the for loop.

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