| Index: Source/core/svg/SVGUseElement.h
|
| diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
|
| index 390fa9c76a8e876a07bb4781738400c8e260d511..88f3537941989ef5e6577921cd4ddb4107c23f2d 100644
|
| --- a/Source/core/svg/SVGUseElement.h
|
| +++ b/Source/core/svg/SVGUseElement.h
|
| @@ -21,9 +21,8 @@
|
| #ifndef SVGUseElement_h
|
| #define SVGUseElement_h
|
|
|
| -#include "core/SVGNames.h"
|
| +#include "core/events/EventSender.h"
|
| #include "core/fetch/DocumentResource.h"
|
| -#include "core/svg/SVGAnimatedBoolean.h"
|
| #include "core/svg/SVGAnimatedLength.h"
|
| #include "core/svg/SVGGraphicsElement.h"
|
| #include "core/svg/SVGURIReference.h"
|
| @@ -31,7 +30,7 @@
|
|
|
| namespace blink {
|
|
|
| -class DocumentResource;
|
| +typedef EventSender<SVGUseElement> SVGUseEventSender;
|
|
|
| class SVGUseElement final : public SVGGraphicsElement,
|
| public SVGURIReference,
|
| @@ -53,6 +52,8 @@ public:
|
|
|
| virtual void buildPendingResource() override;
|
|
|
| + void dispatchPendingEvent(SVGUseEventSender*);
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| @@ -97,8 +98,6 @@ private:
|
| TreeScope* referencedScope() const;
|
| void setDocumentResource(ResourcePtr<DocumentResource>);
|
|
|
| - virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadEventTimer; }
|
| -
|
| RefPtrWillBeMember<SVGAnimatedLength> m_x;
|
| RefPtrWillBeMember<SVGAnimatedLength> m_y;
|
| RefPtrWillBeMember<SVGAnimatedLength> m_width;
|
| @@ -108,7 +107,6 @@ private:
|
| bool m_needsShadowTreeRecreation;
|
| RefPtrWillBeMember<SVGElement> m_targetElementInstance;
|
| ResourcePtr<DocumentResource> m_resource;
|
| - Timer<SVGElement> m_svgLoadEventTimer;
|
| };
|
|
|
| } // namespace blink
|
|
|