Index: third_party/WebKit/Source/core/dom/PendingScript.h |
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.h b/third_party/WebKit/Source/core/dom/PendingScript.h |
index 25abb4186100c8839511c0f07a0c111103354d5b..66a9d9d9d3a8ff5ef667b93835f805a1cb14d737 100644 |
--- a/third_party/WebKit/Source/core/dom/PendingScript.h |
+++ b/third_party/WebKit/Source/core/dom/PendingScript.h |
@@ -47,6 +47,7 @@ class ScriptSourceCode; |
// lifetime in order to guarantee that the data buffer will not be purged. |
class CORE_EXPORT PendingScript final : public GarbageCollectedFinalized<PendingScript>, public ResourceOwner<ScriptResource> { |
USING_GARBAGE_COLLECTED_MIXIN(PendingScript); |
+ USING_PRE_FINALIZER(PendingScript, dispose); |
WTF_MAKE_NONCOPYABLE(PendingScript); |
public: |
static PendingScript* create(Element*, ScriptResource*); |