[Webkit-unassigned] [Bug 34005] Safari pegs CPU and drops tons of frames using HTML5 Vimeo player

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 7 09:29:19 PDT 2010


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





--- Comment #71 from Adam Roben (aroben) <aroben at apple.com>  2010-05-07 09:29:19 PST ---
(From update of attachment 55149)
> +    size_t indexOfClient = m_private->m_clients.find(client);
> +    if (indexOfClient >= 0)
> +        m_private->m_clients.remove(indexOfClient);

This test will always be true. size_t is an unsigned value. The correct test
is:

if (indexOfClient != notFound)

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