summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGDocumentExtensions.h
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-09-13 16:35:48 +0100
committerIain Merrick <husky@google.com>2010-09-16 12:10:42 +0100
commit5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306 (patch)
treeddce1aa5e3b6967a69691892e500897558ff8ab6 /WebCore/svg/SVGDocumentExtensions.h
parent12bec63ec71e46baba27f0bd9bd9d8067683690a (diff)
downloadexternal_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.zip
external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.gz
external_webkit-5abb8606fa57c3ebfc8b3c3dbc3fa4a25d2ae306.tar.bz2
Merge WebKit at r67178 : Initial merge by git.
Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18
Diffstat (limited to 'WebCore/svg/SVGDocumentExtensions.h')
-rw-r--r--WebCore/svg/SVGDocumentExtensions.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGDocumentExtensions.h b/WebCore/svg/SVGDocumentExtensions.h
index e716e10..a0cf2bb 100644
--- a/WebCore/svg/SVGDocumentExtensions.h
+++ b/WebCore/svg/SVGDocumentExtensions.h
@@ -40,6 +40,7 @@ class SVGSVGElement;
class SVGDocumentExtensions : public Noncopyable {
public:
+ typedef HashSet<RefPtr<SVGStyledElement> > SVGPendingElements;
SVGDocumentExtensions(Document*);
~SVGDocumentExtensions();
@@ -64,7 +65,7 @@ private:
Document* m_document; // weak reference
HashSet<SVGSVGElement*> m_timeContainers; // For SVG 1.2 support this will need to be made more general.
HashMap<AtomicString, RenderSVGResourceContainer*> m_resources;
- HashMap<AtomicString, HashSet<SVGStyledElement*>*> m_pendingResources;
+ HashMap<AtomicString, SVGPendingElements*> m_pendingResources;
OwnPtr<SVGResourcesCache> m_resourcesCache;
SVGDocumentExtensions(const SVGDocumentExtensions&);
@@ -74,9 +75,9 @@ public:
// This HashMap contains a list of pending resources. Pending resources, are such
// which are referenced by any object in the SVG document, but do NOT exist yet.
// For instance, dynamically build gradients / patterns / clippers...
- void addPendingResource(const AtomicString& id, SVGStyledElement*);
+ void addPendingResource(const AtomicString& id, PassRefPtr<SVGStyledElement>);
bool isPendingResource(const AtomicString& id) const;
- PassOwnPtr<HashSet<SVGStyledElement*> > removePendingResource(const AtomicString& id);
+ PassOwnPtr<SVGPendingElements> removePendingResource(const AtomicString& id);
};
}