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

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

Issue 266063002: Store SVGElement instead of SVGElementInstance for instancesForElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Also check that ShadowRoot type is UserAgentShadowRoot Created 6 years, 8 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: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 08ce56c0e03cfa32c356ad96091e1a128a42136b..aa0b420d372518e9f171b7a3e2abe6e64ec1c216 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -108,7 +108,7 @@ public:
void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttributesAreDirty = true; }
void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m_presentationAttributeStyleIsDirty = true; }
- const HashSet<SVGElementInstance*>& instancesForElement() const;
+ const HashSet<SVGElement*>& instancesForElement() const;
bool getBoundingBox(FloatRect&);
@@ -121,6 +121,7 @@ public:
SVGElement* correspondingElement();
void setCorrespondingElement(SVGElement*);
+ SVGUseElement* correspondingUseElement();
pdr. 2014/05/04 00:03:03 SVGUseElement* correspondingUseElement() const;
void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;

Powered by Google App Engine
This is Rietveld 408576698