Bug 137270

Summary: Use is<>() / downcast<>() for ContainerNode
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, kling, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 137056    
Bug Blocks:    
Attachments:
Description Flags
Patch none

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.