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

Unified Diff: Source/core/svg/SVGElement.h

Issue 272623003: Stop using SVGElementInstance in SVGElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « no previous file | Source/core/svg/SVGElement.cpp » ('j') | Source/core/svg/SVGElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 49cc827b53b73be57bb8730334df6c020ae1e513..7fe9fab78258a6b49677499642363df8221336f6 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -40,7 +40,6 @@ class SVGAnimatedPropertyBase;
class SubtreeLayoutScope;
class SVGCursorElement;
class SVGDocumentExtensions;
-class SVGElementInstance;
class SVGElementRareData;
class SVGFitToViewBox;
class SVGSVGElement;
@@ -109,6 +108,8 @@ public:
void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m_presentationAttributeStyleIsDirty = true; }
const HashSet<SVGElement*>& instancesForElement() const;
+ void mapInstanceToElement(SVGElement*);
+ void removeInstanceMapping(SVGElement*);
bool getBoundingBox(FloatRect&);
@@ -211,8 +212,6 @@ protected:
bool hasFocusEventListeners() const;
private:
- friend class SVGElementInstance;
-
// FIXME: Author shadows should be allowed
// https://bugs.webkit.org/show_bug.cgi?id=77938
virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false; }
@@ -223,9 +222,6 @@ private:
void buildPendingResourcesIfNeeded();
- void mapInstanceToElement(SVGElementInstance*);
- void removeInstanceMapping(SVGElementInstance*);
-
bool supportsSpatialNavigationFocus() const;
HashSet<SVGElement*> m_elementsWithRelativeLengths;
« no previous file with comments | « no previous file | Source/core/svg/SVGElement.cpp » ('j') | Source/core/svg/SVGElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698