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

Unified Diff: Source/core/html/parser/HTMLParserThread.cpp

Issue 1134933003: Revert of Remove the concept of a cleanup task (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « Source/core/dom/ExecutionContextTask.h ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLParserThread.cpp
diff --git a/Source/core/html/parser/HTMLParserThread.cpp b/Source/core/html/parser/HTMLParserThread.cpp
index b7eec5984f413a0d97da253daf62dbb54ec7f711..18d8e5ea1ef7b7015848ca8124625dacc04d6b6b 100644
--- a/Source/core/html/parser/HTMLParserThread.cpp
+++ b/Source/core/html/parser/HTMLParserThread.cpp
@@ -58,7 +58,7 @@
void HTMLParserThread::setupHTMLParserThread()
{
ASSERT(m_thread);
- m_thread->initialize();
+ m_thread->attachGC();
}
void HTMLParserThread::shutdown()
@@ -74,7 +74,7 @@
void HTMLParserThread::cleanupHTMLParserThread()
{
- m_thread->shutdown();
+ m_thread->detachGC();
}
HTMLParserThread* HTMLParserThread::shared()
« no previous file with comments | « Source/core/dom/ExecutionContextTask.h ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698