Bug 154846 - MemoryCache::forEachResource() should guard resources across function invocation.
Summary: MemoryCache::forEachResource() should guard resources across function invocat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 23:20 PST by Andreas Kling
Modified: 2016-03-01 06:29 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.50 KB, patch)
2016-02-29 23:21 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.