[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 09:22:38 PDT 2010


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





--- Comment #27 from Philippe Normand <pnormand at igalia.com>  2010-07-13 09:22:39 PST ---
(In reply to comment #26)
> (From update of attachment 61367 [details])
> > +    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

Right the second test is overkill , sorry ;)

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