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

Side by Side Diff: Source/core/svg/SVGDocumentExtensions.h

Issue 323803002: prepare |SVGDocumentExtensions::m_relativeLengthSVGRoots| for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use strong ref Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #if ENABLE(SVG_FONTS) 103 #if ENABLE(SVG_FONTS)
104 WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> > m_svgFontFaceElem ents; 104 WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> > m_svgFontFaceElem ents;
105 // SVGFontFaceElements that are pending and scheduled for removal. 105 // SVGFontFaceElements that are pending and scheduled for removal.
106 WillBeHeapHashSet<RefPtrWillBeMember<SVGFontFaceElement> > m_pendingSVGFontF aceElementsForRemoval; 106 WillBeHeapHashSet<RefPtrWillBeMember<SVGFontFaceElement> > m_pendingSVGFontF aceElementsForRemoval;
107 #endif 107 #endif
108 HashMap<AtomicString, RenderSVGResourceContainer*> m_resources; 108 HashMap<AtomicString, RenderSVGResourceContainer*> m_resources;
109 HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResources; // Re sources that are pending. 109 HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResources; // Re sources that are pending.
110 HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResourcesForRemo val; // Resources that are pending and scheduled for removal. 110 HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResourcesForRemo val; // Resources that are pending and scheduled for removal.
111 HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > > m_elementDependencies; 111 HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > > m_elementDependencies;
112 OwnPtr<SVGResourcesCache> m_resourcesCache; 112 OwnPtr<SVGResourcesCache> m_resourcesCache;
113 HashSet<SVGSVGElement*> m_relativeLengthSVGRoots; // Root SVG elements with relative length descendants. 113 WillBeHeapHashSet<RawPtrWillBeMember<SVGSVGElement> > m_relativeLengthSVGRoo ts; // Root SVG elements with relative length descendants.
114 FloatPoint m_translate; 114 FloatPoint m_translate;
115 #if !ASSERT_DISABLED 115 #if !ASSERT_DISABLED
116 bool m_inRelativeLengthSVGRootsInvalidation; 116 bool m_inRelativeLengthSVGRootsInvalidation;
117 #endif 117 #endif
118 118
119 public: 119 public:
120 // This HashMap contains a list of pending resources. Pending resources, are such 120 // This HashMap contains a list of pending resources. Pending resources, are such
121 // which are referenced by any object in the SVG document, but do NOT exist yet. 121 // which are referenced by any object in the SVG document, but do NOT exist yet.
122 // For instance, dynamically build gradients / patterns / clippers... 122 // For instance, dynamically build gradients / patterns / clippers...
123 void addPendingResource(const AtomicString& id, Element*); 123 void addPendingResource(const AtomicString& id, Element*);
(...skipping 10 matching lines...) Expand all
134 void markPendingResourcesForRemoval(const AtomicString&); 134 void markPendingResourcesForRemoval(const AtomicString&);
135 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&); 135 Element* removeElementFromPendingResourcesForRemoval(const AtomicString&);
136 136
137 private: 137 private:
138 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS tring&); 138 PassOwnPtr<SVGPendingElements> removePendingResourceForRemoval(const AtomicS tring&);
139 }; 139 };
140 140
141 } 141 }
142 142
143 #endif 143 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698