Bug 126309 - Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement()
Summary: Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gyuyoung Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 16:20 PST by Gyuyoung Kim
Modified: 2013-12-30 18:54 PST (History)
2 users (show)

See Also:


Attachments
Patch (13.17 KB, patch)
2013-12-30 16:26 PST, Gyuyoung Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gyuyoung Kim 2013-12-30 16:20:05 PST
To detect bad type casts, it would be good to use toHTMLFormElement() instead of using manual type cast. Additionally, FORM_ASSOCIATED_ELEMENT_TYPE_CASTS is introduced newly to do it.
Comment 1 Gyuyoung Kim 2013-12-30 16:26:10 PST
Created attachment 220134 [details]
Patch
Comment 2 WebKit Commit Bot 2013-12-30 18:54:46 PST
Comment on attachment 220134 [details]
Patch

Clearing flags on attachment: 220134

Committed r161166: <http://trac.webkit.org/changeset/161166>
Comment 3 WebKit Commit Bot 2013-12-30 18:54:50 PST
All reviewed patches have been landed.  Closing bug.