[webkit-reviews] review granted: [Bug 23522] Use checked casts for render tree : [Attachment 33729] Next step: Includes toRenderWidget

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 29 23:56:01 PDT 2009


David Levin <levin at chromium.org> has granted Darin Adler <darin at apple.com>'s
request for review:
Bug 23522: Use checked casts for render tree
https://bugs.webkit.org/show_bug.cgi?id=23522

Attachment 33729: Next step: Includes toRenderWidget
https://bugs.webkit.org/attachment.cgi?id=33729&action=review

------- Additional Comments from David Levin <levin at chromium.org>
Verified that it is equivalent (with the added bonus of error checking).

I wish there was a way to give compile errors for instances of
"static_cast<RenderWidget*>()" to prevent it from being added again
(automatically), but I couldn't think of any way to do this.


More information about the webkit-reviews mailing list