Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp

Issue 2618893002: Fix memory leak with ScriptedIdleTaskController (Closed)
Patch Set: Use WeakPersistent Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/idle-callback/untriggered-do-not-leak.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp b/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
index 263766a0c308be166693dd4591c354f6c0ca793f..7f31434373b002fe1f89719c97311b065d3f7302 100644
--- a/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
@@ -62,7 +62,7 @@ class IdleRequestCallbackWrapper
: m_id(id), m_controller(controller) {}
ScriptedIdleTaskController::CallbackId m_id;
- Persistent<ScriptedIdleTaskController> m_controller;
+ WeakPersistent<ScriptedIdleTaskController> m_controller;
};
} // namespace internal
« no previous file with comments | « third_party/WebKit/LayoutTests/idle-callback/untriggered-do-not-leak.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698