[Webkit-unassigned] [Bug 54105] Add convenience method toHTMLElement(Node*)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 07:55:25 PST 2011


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





--- Comment #4 from Yael <yael.aharon at nokia.com>  2011-02-09 07:55:25 PST ---
(In reply to comment #2)
> (From update of attachment 81812 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=81812&action=review
> 
> Yeal, you should probably convert the callsites and add the helper altogether?
> 
> > Source/WebCore/html/HTMLElement.h:113
> > +    ASSERT(!node || node->isHTMLElement());
> 
> would not it be clearer if the assert was ASSERT(node && node->isHTMLElement());?

Perhaps, I simply copied this from toElement() :)

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