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

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

Issue 1762633002: Use references some more in SVGUseElement (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 c135ea2a7bdb7856d444f406759fa5f95ad2b621..a48ca60a72f13e5f11dfd0691505c1c04d27b682 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.h
@@ -89,11 +89,11 @@ private:
bool selfHasRelativeLengths() const override;
// Instance tree handling
- void buildShadowAndInstanceTree(SVGElement* target);
+ void buildShadowAndInstanceTree(SVGElement& target);
void clearInstanceRoot();
- void buildShadowTree(SVGElement* target, SVGElement* targetInstance, bool foundUse);
+ void buildShadowTree(SVGElement& target, SVGElement& targetInstance, bool foundUse);
void clearShadowTree();
- bool hasCycleUseReferencing(SVGUseElement*, ContainerNode* targetInstance, SVGElement*& newTarget);
+ bool hasCycleUseReferencing(const SVGUseElement&, const ContainerNode& targetInstance, SVGElement*& newTarget) const;
bool expandUseElementsInShadowTree();
void expandSymbolElementsInShadowTree();
void cloneNonMarkupEventListeners();
« 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