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

Unified Diff: Source/modules/webdatabase/DatabaseThread.h

Issue 589363002: Oilpan: DatabaseThread::m_thread should not get destructed during sweeping (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
Index: Source/modules/webdatabase/DatabaseThread.h
diff --git a/Source/modules/webdatabase/DatabaseThread.h b/Source/modules/webdatabase/DatabaseThread.h
index 3a020939194693f695cc669b5ddce9866bdccd5a..f238ad598f44c331a0053f2f1527f674aeef1da9 100644
--- a/Source/modules/webdatabase/DatabaseThread.h
+++ b/Source/modules/webdatabase/DatabaseThread.h
@@ -58,7 +58,7 @@ public:
void trace(Visitor*);
void start();
- void requestTermination(TaskSynchronizer* cleanupSync);
+ void terminate();
bool terminationRequested(TaskSynchronizer* = 0) const;
void scheduleTask(PassOwnPtr<DatabaseTask>);
@@ -88,7 +88,6 @@ private:
OwnPtr<SQLTransactionClient> m_transactionClient;
OwnPtrWillBeMember<SQLTransactionCoordinator> m_transactionCoordinator;
- TaskSynchronizer* m_cleanupSync;
mutable Mutex m_terminationRequestedMutex;
bool m_terminationRequested;

Powered by Google App Engine
This is Rietveld 408576698