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

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

Issue 1759423003: Factor addReferenceTo()-calls out of SVGUseElement::buildShadowTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6cc065d0d99089a826080072db4c32d4711611ca..4d527ac29f18ee171382f48a4cba31ca3b068be8 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.h
@@ -91,19 +91,20 @@ private:
// Instance tree handling
void buildShadowAndInstanceTree(SVGElement& target);
void clearInstanceRoot();
- void buildShadowTree(SVGElement& target, SVGElement& targetInstance, bool foundUse);
+ void buildShadowTree(SVGElement& target, SVGElement& targetInstance);
void clearShadowTree();
bool hasCycleUseReferencing(const SVGUseElement&, const ContainerNode& targetInstance, SVGElement*& newTarget) const;
bool expandUseElementsInShadowTree();
void expandSymbolElementsInShadowTree();
void cloneNonMarkupEventListeners();
+ void addReferencesToFirstDegreeNestedUseElements(SVGElement& target);
void invalidateDependentShadowTrees();
bool resourceIsStillLoading() const;
bool resourceIsValid() const;
Document* externalDocument() const;
- bool instanceTreeIsLoading(const SVGElement*);
+ bool instanceTreeIsLoading() const;
void notifyFinished(Resource*) override;
String debugName() const override { return "SVGUseElement"; }
void setDocumentResource(PassRefPtrWillBeRawPtr<DocumentResource>);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698