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

Unified Diff: Source/modules/webdatabase/DatabaseThread.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/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseThread.cpp
diff --git a/Source/modules/webdatabase/DatabaseThread.cpp b/Source/modules/webdatabase/DatabaseThread.cpp
index 810e198fb0eec9b31549b06d78d14b7e1554dac1..f6dc627c9aab273791dc6831e4379b7ee4b3c7d3 100644
--- a/Source/modules/webdatabase/DatabaseThread.cpp
+++ b/Source/modules/webdatabase/DatabaseThread.cpp
@@ -71,7 +71,7 @@
void DatabaseThread::setupDatabaseThread()
{
- m_thread->initialize();
+ m_thread->attachGC();
}
void DatabaseThread::terminate()
@@ -122,7 +122,7 @@
void DatabaseThread::cleanupDatabaseThreadCompleted()
{
- m_thread->shutdown();
+ m_thread->detachGC();
if (m_cleanupSync) // Someone wanted to know when we were done cleaning up.
m_cleanupSync->taskCompleted();
}
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698