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

Unified Diff: Source/modules/webdatabase/DatabaseTracker.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/modules/webdatabase/DatabaseThread.cpp ('k') | Source/platform/WebThreadSupportingGC.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseTracker.cpp
diff --git a/Source/modules/webdatabase/DatabaseTracker.cpp b/Source/modules/webdatabase/DatabaseTracker.cpp
index b1206aeca2271edf114337c016fb6d4c31b81cb5..9df8c08842d606d07e7c698cc31322321f468403 100644
--- a/Source/modules/webdatabase/DatabaseTracker.cpp
+++ b/Source/modules/webdatabase/DatabaseTracker.cpp
@@ -118,6 +118,11 @@
databaseClosed(m_database.get());
}
+ virtual bool isCleanupTask() const override
+ {
+ return true;
+ }
+
private:
explicit NotifyDatabaseObserverOnCloseTask(Database* database)
: m_database(database)
« no previous file with comments | « Source/modules/webdatabase/DatabaseThread.cpp ('k') | Source/platform/WebThreadSupportingGC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698