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

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

Issue 2288973002: Merge TaskSynchronizer into WaitableEvent. (Closed)
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
index afe5454f87ee74375af9c1426bf0d37b67fc05e0..a23aba16e234136a09dc6744e8fa65356d2ddaa7 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
@@ -40,7 +40,7 @@ class Database;
class DatabaseTask;
class SQLTransactionClient;
class SQLTransactionCoordinator;
-class TaskSynchronizer;
+class WaitableEvent;
class DatabaseThread : public GarbageCollectedFinalized<DatabaseThread> {
public:
@@ -80,7 +80,7 @@ private:
std::unique_ptr<SQLTransactionClient> m_transactionClient;
CrossThreadPersistent<SQLTransactionCoordinator> m_transactionCoordinator;
- TaskSynchronizer* m_cleanupSync;
+ WaitableEvent* m_cleanupSync;
Mutex m_terminationRequestedMutex;
bool m_terminationRequested;

Powered by Google App Engine
This is Rietveld 408576698