As a step to use DEFINE_TYPE_CASTS, this cl introduce DEFINE_IMAGE_TYPE_CASTS. BitmapImage, SVGImage can use it to generate toFoo() type case helper functions.
Created attachment 218564 [details] Patch
Created attachment 218565 [details] Patch
Comment on attachment 218565 [details] Patch Seems reasonable.
Comment on attachment 218565 [details] Patch Clearing flags on attachment: 218565 Committed r160212: <http://trac.webkit.org/changeset/160212>
All reviewed patches have been landed. Closing bug.