Summary: | HTMLTableRowsCollection is always rooted at a HTMLTableElement. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | DOM | Assignee: | 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
Andreas Kling
2013-11-04 00:14:02 PST
Created attachment 215893 [details]
Patch
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. Committed r158564: <http://trac.webkit.org/changeset/158564> |