Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: WebCore/svg/SVGDocumentExtensions.h

Issue 3308018: Merge 66847 - 2010-09-06 Justin Schuh <jschuh@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/rendering/RenderSVGResourceContainer.cpp ('k') | WebCore/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/svg/SVGDocumentExtensions.h
===================================================================
--- WebCore/svg/SVGDocumentExtensions.h (revision 67107)
+++ WebCore/svg/SVGDocumentExtensions.h (working copy)
@@ -40,6 +40,7 @@
class SVGDocumentExtensions : public Noncopyable {
public:
+ typedef HashSet<RefPtr<SVGStyledElement> > SVGPendingElements;
SVGDocumentExtensions(Document*);
~SVGDocumentExtensions();
@@ -64,7 +65,7 @@
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 @@
// 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);
};
}
« no previous file with comments | « WebCore/rendering/RenderSVGResourceContainer.cpp ('k') | WebCore/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698