[Webkit-unassigned] [Bug 35333] [GTK] video playback position query flood when mouse over the video element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 13 08:49:30 PDT 2010


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





--- Comment #26 from Eric Carlson <eric.carlson at apple.com>  2010-07-13 08:49:30 PST ---
(From update of attachment 61367)
> +    Node* node = o->node();
> +    if (!node)
> +        return false;
> +
> +    MediaControlPlayButtonElement* btn = static_cast<MediaControlPlayButtonElement*>(node);
> +    if (!btn)
>          return false;
>  
Is it possible for node to be non-NULL and the static cast to return NULL? IOW, is the second test necessary?

r=me

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