Rename CachedImage::isImage() to isCachedImage() and add toCachedImage() for type safety checking. See Bug 126761 Comment #13.
Created attachment 222297 [details] Patch v1
Comment on attachment 222297 [details] Patch v1 I know you got concerned about this because of RenderObject::isImage not meaning the RenderObject is a RenderImage, but I don’t see the analogy here. This new names don’t seem to be an improvement here.
(In reply to comment #2) > (From update of attachment 222297 [details]) > I know you got concerned about this because of RenderObject::isImage not meaning the RenderObject is a RenderImage, but I don’t see the analogy here. This new names don’t seem to be an improvement here. Okay.
Comment on attachment 222297 [details] Patch v1 Cleared review? from attachment 222297 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).