diff options
Diffstat (limited to 'WebCore/dom/Document.h')
-rw-r--r-- | WebCore/dom/Document.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/WebCore/dom/Document.h b/WebCore/dom/Document.h index 676caf9..aa4d9e3 100644 --- a/WebCore/dom/Document.h +++ b/WebCore/dom/Document.h @@ -1104,10 +1104,14 @@ private: unsigned short m_listenerTypes; RefPtr<StyleSheetList> m_styleSheets; // All of the stylesheets that are currently in effect for our media type and stylesheet set. - ListHashSet<Node*> m_styleSheetCandidateNodes; // All of the nodes that could potentially provide stylesheets to the document (<link>, <style>, <?xml-stylesheet>) + + typedef ListHashSet<Node*, 32> StyleSheetCandidateListHashSet; + StyleSheetCandidateListHashSet m_styleSheetCandidateNodes; // All of the nodes that could potentially provide stylesheets to the document (<link>, <style>, <?xml-stylesheet>) + + typedef ListHashSet<Element*, 64> FormElementListHashSet; + FormElementListHashSet m_formElementsWithState; typedef HashMap<FormElementKey, Vector<String>, FormElementKeyHash, FormElementKeyHashTraits> FormElementStateMap; - ListHashSet<Element*> m_formElementsWithState; FormElementStateMap m_stateForNewFormElements; Color m_linkColor; |