| Index: third_party/WebKit/Source/core/svg/SVGResourceClient.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGResourceClient.h b/third_party/WebKit/Source/core/svg/SVGResourceClient.h
|
| index 58b4f5378f9c9a8ee6f2412c75245c6a397f413d..135ecc35dbc3fcc335a8f8ed45532cc028e7762a 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGResourceClient.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGResourceClient.h
|
| @@ -6,36 +6,21 @@
|
| #define SVGResourceClient_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/fetch/DocumentResource.h"
|
| -#include "core/svg/SVGFilterElement.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class Document;
|
| -class FilterOperations;
|
| -
|
| -class CORE_EXPORT SVGResourceClient : public DocumentResourceClient {
|
| - USING_PRE_FINALIZER(SVGResourceClient, clearFilterReferences);
|
| -
|
| +class CORE_EXPORT SVGResourceClient : public GarbageCollectedMixin {
|
| public:
|
| - SVGResourceClient();
|
| - ~SVGResourceClient() override;
|
| - void addFilterReferences(const FilterOperations&, const Document&);
|
| - void clearFilterReferences();
|
| -
|
| - virtual void filterNeedsInvalidation() = 0;
|
| -
|
| - void filterWillBeDestroyed(SVGFilterElement*);
|
| + virtual ~SVGResourceClient() {}
|
|
|
| - void notifyFinished(Resource*) override;
|
| - String debugName() const override { return "SVGResourceClient"; }
|
| + virtual void resourceContentChanged() = 0;
|
| + virtual void resourceElementChanged() = 0;
|
|
|
| - DECLARE_TRACE();
|
| + DEFINE_INLINE_VIRTUAL_TRACE() {}
|
|
|
| - private:
|
| - HeapHashSet<WeakMember<SVGFilterElement>> m_internalFilterReferences;
|
| - HeapVector<Member<DocumentResource>> m_externalFilterReferences;
|
| + protected:
|
| + SVGResourceClient() {}
|
| };
|
|
|
| } // namespace blink
|
|
|