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

Unified Diff: Source/core/dom/ScriptRunner.cpp

Issue 1171463006: Make Timer and CancellableTaskFactory embeddeable in lazily swept objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: mark ScriptRunner's CancellableTaskFactory as needing unpoisoning Created 5 years, 6 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 | « no previous file | Source/platform/Timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptRunner.cpp
diff --git a/Source/core/dom/ScriptRunner.cpp b/Source/core/dom/ScriptRunner.cpp
index 612aaf873cc44c771c38b4b4c59c113313235541..bf1d254109b5e31a144b5a34c76757f11e28ef42 100644
--- a/Source/core/dom/ScriptRunner.cpp
+++ b/Source/core/dom/ScriptRunner.cpp
@@ -50,6 +50,9 @@ ScriptRunner::ScriptRunner(Document* document)
, m_executeScriptsTaskFactory(WTF::bind(&ScriptRunner::executeScripts, this))
{
ASSERT(document);
+#if ENABLE(LAZY_SWEEPING) && defined(ADDRESS_SANITIZER)
+ m_executeScriptsTaskFactory.setUnpoisonBeforeUpdate();
+#endif
}
ScriptRunner::~ScriptRunner()
« no previous file with comments | « no previous file | Source/platform/Timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698