| 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 cb7702fbd3910992cb6726b4f0f812cac2ba2e51..0dacc192fd10cf475624e641d193c25ebf9af813 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGUseElement.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGUseElement.h
|
| @@ -39,6 +39,7 @@ class SVGUseElement final : public SVGGraphicsElement,
|
|
|
| DEFINE_WRAPPERTYPEINFO();
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement);
|
| + WILL_BE_USING_PRE_FINALIZER(SVGUseElement, dispose);
|
| public:
|
| static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&);
|
| ~SVGUseElement() override;
|
| @@ -64,6 +65,8 @@ public:
|
| private:
|
| explicit SVGUseElement(Document&);
|
|
|
| + void dispose();
|
| +
|
| FloatRect getBBox() override;
|
|
|
| bool isPresentationAttribute(const QualifiedName&) const override;
|
| @@ -104,7 +107,7 @@ private:
|
| void notifyFinished(Resource*) override;
|
| String debugName() const override { return "SVGUseElement"; }
|
| TreeScope* referencedScope() const;
|
| - void setDocumentResource(ResourcePtr<DocumentResource>);
|
| + void setDocumentResource(PassRefPtrWillBeRawPtr<DocumentResource>);
|
|
|
| RefPtrWillBeMember<SVGAnimatedLength> m_x;
|
| RefPtrWillBeMember<SVGAnimatedLength> m_y;
|
| @@ -114,7 +117,7 @@ private:
|
| bool m_haveFiredLoadEvent;
|
| bool m_needsShadowTreeRecreation;
|
| RefPtrWillBeMember<SVGElement> m_targetElementInstance;
|
| - ResourcePtr<DocumentResource> m_resource;
|
| + RefPtrWillBeMember<DocumentResource> m_resource;
|
| };
|
|
|
| } // namespace blink
|
|
|