Index: Source/web/SuspendableScriptExecutor.h |
diff --git a/Source/web/SuspendableScriptExecutor.h b/Source/web/SuspendableScriptExecutor.h |
index 476202050555924fba8a1ae72c6f50cb71c5b670..cafb6854e52bc84748bc59c0c6773dd9f2a0c296 100644 |
--- a/Source/web/SuspendableScriptExecutor.h |
+++ b/Source/web/SuspendableScriptExecutor.h |
@@ -24,6 +24,9 @@ public: |
virtual void contextDestroyed() override; |
+ // Eager finalization is needed to promptly stop this timer object. |
+ // (see DOMTimer comment for more.) |
+ EAGERLY_FINALIZE(); |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -33,6 +36,7 @@ private: |
void run(); |
void executeAndDestroySelf(); |
+ void dispose(); |
RawPtrWillBeMember<LocalFrame> m_frame; |
int m_worldID; |