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

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: Do shadow dom deletion later 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') | no next file with comments »
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 7ccf059d0817ad59cc2a29f26ba2b75a5ef2a5da..c20377b6a6329911214dd86fbe5c94fc69c760f0 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&);
@@ -210,8 +211,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; }
@@ -222,9 +221,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698