Bug 123721

Summary: HTMLTableRowsCollection is always rooted at a HTMLTableElement.
Product: WebKit Reporter: Andreas Kling <kling>
Component: DOMAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, commit-queue, esprehn+autocc, gyuyoung.kim, kangil.han, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Andreas Kling
Reported 2013-11-04 00:14:02 PST
HTMLTableRowsCollection is always rooted at a HTMLTableElement.
Attachments
Patch (3.53 KB, patch)
2013-11-04 00:14 PST, Andreas Kling
koivisto: review+
Andreas Kling
Comment 1 2013-11-04 00:14:28 PST
Antti Koivisto
Comment 2 2013-11-04 00:35:27 PST
Comment on attachment 215893 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=215893&action=review > Source/WebCore/html/HTMLTableRowsCollection.cpp:164 > + return rowAfter(&const_cast<HTMLTableElement&>(tableElement()), toHTMLTableRowElement(previous)); I like putting & or * inside the cast and casting to the final type.
Andreas Kling
Comment 3 2013-11-04 00:52:05 PST
Note You need to log in before you can comment on or make changes to this bug.