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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 07:42:33 PST 2011


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





--- Comment #2 from Antonio Gomes <tonikitoo at webkit.org>  2011-02-09 07:42:33 PST ---
(From update of attachment 81812)
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());?

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