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

Unified Diff: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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
Index: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
index 4b74c04246a22792fa902fb40a233acb56b50ac4..9896b0044f41f211f504e82b61cc604edec86a2f 100644
--- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
+++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h
@@ -50,7 +50,8 @@ class SVGDocumentExtensions
void addTimeContainer(SVGSVGElement*);
void removeTimeContainer(SVGSVGElement*);
- // Records the SVG element as having a Web Animation on an SVG attribute that needs applying.
+ // Records the SVG element as having a Web Animation on an SVG attribute that
+ // needs applying.
void addWebAnimationsPendingSVGElement(SVGElement&);
void addResource(const AtomicString& id, LayoutSVGResourceContainer*);
@@ -84,26 +85,28 @@ class SVGDocumentExtensions
private:
Member<Document> m_document;
- HeapHashSet<Member<SVGSVGElement>>
- m_timeContainers; // For SVG 1.2 support this will need to be made more general.
+ // For SVG 1.2 support this will need to be made more general.
+ HeapHashSet<Member<SVGSVGElement>> m_timeContainers;
using SVGElementSet = HeapHashSet<Member<SVGElement>>;
SVGElementSet m_webAnimationsPendingSVGElements;
HashMap<AtomicString, LayoutSVGResourceContainer*> m_resources;
+ // Resources that are pending.
+ HeapHashMap<AtomicString, Member<SVGPendingElements>> m_pendingResources;
+ // Resources that are pending and scheduled for removal.
HeapHashMap<AtomicString, Member<SVGPendingElements>>
- m_pendingResources; // Resources that are pending.
- HeapHashMap<AtomicString, Member<SVGPendingElements>>
- m_pendingResourcesForRemoval; // Resources that are pending and scheduled for removal.
+ m_pendingResourcesForRemoval;
SVGResourcesCache m_resourcesCache;
- HeapHashSet<Member<SVGSVGElement>>
- m_relativeLengthSVGRoots; // Root SVG elements with relative length descendants.
+ // Root SVG elements with relative length descendants.
+ HeapHashSet<Member<SVGSVGElement>> m_relativeLengthSVGRoots;
FloatPoint m_translate;
#if ENABLE(ASSERT)
bool m_inRelativeLengthSVGRootsInvalidation;
#endif
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.
+ // 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, Element*);
bool hasPendingResource(const AtomicString& id) const;
@@ -115,7 +118,8 @@ class SVGDocumentExtensions
void serviceAnimations();
- // The following two functions are used for scheduling a pending resource to be removed.
+ // The following two functions are used for scheduling a pending resource to
+ // be removed.
void markPendingResourcesForRemoval(const AtomicString&);
Element* removeElementFromPendingResourcesForRemoval(const AtomicString&);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698