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

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

Issue 2744613002: Use IdTargetObserver in SVGUseElement (Closed)
Patch Set: Created 3 years, 9 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/SVGUseElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.h b/third_party/WebKit/Source/core/svg/SVGUseElement.h
index 4c0b5b41ae8731c078ec539e203bd59bf26e102c..0b67aa35654286140d915eb2492ff8317a77a921 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.h
@@ -94,7 +94,7 @@ class SVGUseElement final : public SVGGraphicsElement,
void buildShadowAndInstanceTree(SVGElement& target);
void clearInstanceRoot();
Element* createInstanceTree(SVGElement& targetRoot) const;
- void clearShadowTree();
+ void clearResourceReference();
bool hasCycleUseReferencing(const SVGUseElement&,
const ContainerNode& targetInstance,
SVGElement*& newTarget) const;
@@ -121,6 +121,7 @@ class SVGUseElement final : public SVGGraphicsElement,
bool m_haveFiredLoadEvent;
bool m_needsShadowTreeRecreation;
Member<SVGElement> m_targetElementInstance;
+ Member<IdTargetObserver> m_targetIdObserver;
Member<DocumentResource> m_resource;
};
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGURIReference.cpp ('k') | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698