Bug 141568

Summary: CachedResource::clearLoader() should self-destruct if nothing else retains the CachedResource.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Page LoadingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, japhet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
koivisto: review+
Patch for landing none

Andreas Kling
Reported Friday, February 13, 2015 6:47:25 PM UTC
Anyone who may change the return value of CachedResource::canDelete() is responsible for calling deleteIfPossible() afterwards.
Attachments
Patch (1.73 KB, patch)
2015-02-13 10:50 PST, Andreas Kling
koivisto: review+
Patch for landing (1.75 KB, patch)
2015-02-13 10:54 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 Friday, February 13, 2015 6:50:22 PM UTC
Andreas Kling
Comment 2 Friday, February 13, 2015 6:54:02 PM UTC
Created attachment 246535 [details] Patch for landing
WebKit Commit Bot
Comment 3 Friday, February 13, 2015 8:30:40 PM UTC
Comment on attachment 246535 [details] Patch for landing Clearing flags on attachment: 246535 Committed r180068: <http://trac.webkit.org/changeset/180068>
WebKit Commit Bot
Comment 4 Friday, February 13, 2015 8:30:44 PM UTC
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.