RESOLVED FIXED 137270
Use is<>() / downcast<>() for ContainerNode
https://bugs.webkit.org/show_bug.cgi?id=137270
Summary Use is<>() / downcast<>() for ContainerNode
Chris Dumez
Reported 2014-09-30 14:31:19 PDT
Use is<>() / downcast<>() for ContainerNode instead of isContainerNode() / toContainerNode().
Attachments
Patch (22.64 KB, patch)
2014-09-30 14:38 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-09-30 14:38:50 PDT
Andreas Kling
Comment 2 2014-09-30 15:25:38 PDT
Comment on attachment 238964 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238964&action=review r=me > Source/WebCore/dom/Node.h:-745 > -// FIXME: This should be removed and all uses should be replaced with SPECIALIZE_TYPE_TRAITS_*(). > -#define NODE_TYPE_CASTS(ToClassName) \ > - TYPE_CASTS_BASE(ToClassName, Node, node, WebCore::is##ToClassName(*node), WebCore::is##ToClassName(node)) Yay!
WebKit Commit Bot
Comment 3 2014-09-30 16:03:43 PDT
Comment on attachment 238964 [details] Patch Clearing flags on attachment: 238964 Committed r174132: <http://trac.webkit.org/changeset/174132>
WebKit Commit Bot
Comment 4 2014-09-30 16:03:49 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.