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(); |