Bug 127668

Summary: Rename CachedImage::isImage() to isCachedImage() and add toCachedImage()
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Page LoadingAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED WONTFIX    
Severity: Normal CC: andersca, beidson, commit-queue, japhet, kling, koivisto, sam, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch v1 none

Description David Kilzer (:ddkilzer) 2014-01-26 19:26:01 PST
Rename CachedImage::isImage() to isCachedImage() and add toCachedImage() for type safety checking.

See Bug 126761 Comment #13.
Comment 1 David Kilzer (:ddkilzer) 2014-01-26 20:12:28 PST
Created attachment 222297 [details]
Patch v1
Comment 2 Darin Adler 2014-01-27 10:51:38 PST
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.
Comment 3 David Kilzer (:ddkilzer) 2014-01-27 13:52:14 PST
(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 4 Csaba Osztrogonác 2014-02-13 03:51:52 PST
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).