Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
index 403c3d14ba72dfbed30bcb54ea92f4982612322a..ba47dfcf9e047ded391f7639fff3418e579cd194 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
@@ -63,6 +63,13 @@ DEFINE_TRACE(ScheduledAction) { |
ScheduledAction::~ScheduledAction() {} |
haraken
2016/12/05 10:53:27
Ditto.
sof
2016/12/05 14:07:09
Added.
|
+void ScheduledAction::dispose() { |
+ m_code.dispose(); |
+ m_info.Clear(); |
+ m_function.clear(); |
+ m_scriptState.clear(); |
+} |
+ |
void ScheduledAction::execute(ExecutionContext* context) { |
if (context->isDocument()) { |
LocalFrame* frame = toDocument(context)->frame(); |