Bug 154846

Summary: MemoryCache::forEachResource() should guard resources across function invocation.
Product: WebKit Reporter: Andreas Kling <kling>
Component: WebCore Misc.Assignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, japhet, koivisto
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andreas Kling
Reported 2016-02-29 23:20:47 PST
The forEachResource() helper I added should be nice and protect CachedResource objects at least as long as we're in the custom callback.
Attachments
Patch (1.50 KB, patch)
2016-02-29 23:21 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2016-02-29 23:21:16 PST
WebKit Commit Bot
Comment 2 2016-03-01 06:29:10 PST
Comment on attachment 272551 [details] Patch Clearing flags on attachment: 272551 Committed r197399: <http://trac.webkit.org/changeset/197399>
WebKit Commit Bot
Comment 3 2016-03-01 06:29:14 PST
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.