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

Description Andreas Kling 2015-02-13 10:47:25 PST
Anyone who may change the return value of CachedResource::canDelete() is responsible for calling deleteIfPossible() afterwards.
Comment 1 Andreas Kling 2015-02-13 10:50:22 PST
Created attachment 246533 [details]
Patch
Comment 2 Andreas Kling 2015-02-13 10:54:02 PST
Created attachment 246535 [details]
Patch for landing
Comment 3 WebKit Commit Bot 2015-02-13 12:30:40 PST
Comment on attachment 246535 [details]
Patch for landing

Clearing flags on attachment: 246535

Committed r180068: <http://trac.webkit.org/changeset/180068>
Comment 4 WebKit Commit Bot 2015-02-13 12:30:44 PST
All reviewed patches have been landed.  Closing bug.