Bug 75401 - Remove Document::collectionInfo() and let collections manage their caches.
Summary: Remove Document::collectionInfo() and let collections manage their caches.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks: 75403
  Show dependency treegraph
 
Reported: 2011-12-30 20:09 PST by Andreas Kling
Modified: 2011-12-31 16:50 PST (History)
1 user (show)

See Also:


Attachments
Patch (3.79 KB, patch)
2011-12-30 20:13 PST, Andreas Kling
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2011-12-30 20:09:30 PST
Instead of always storing 10 CollectionCaches on the Document, let the collections create them as needed. This was not possible before since there could be multiple collections using the same cache.
Comment 1 Andreas Kling 2011-12-30 20:13:20 PST
Created attachment 120825 [details]
Patch
Comment 2 Andreas Kling 2011-12-31 16:50:13 PST
Committed r103864: <http://trac.webkit.org/changeset/103864>