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

Description Andreas Kling 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.
Comment 1 Andreas Kling 2016-02-29 23:21:16 PST
Created attachment 272551 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2016-03-01 06:29:14 PST
All reviewed patches have been landed.  Closing bug.