Rename Mutex to DeprecatedMutex
[WebKit-https.git] / Source / WebCore / Modules / webdatabase / Database.cpp
index 30331f3..e628675 100644 (file)
@@ -115,7 +115,7 @@ void Database::close()
     ASSERT(currentThread() == databaseContext()->databaseThread()->getThreadID());
 
     {
-        MutexLocker locker(m_transactionInProgressMutex);
+        DeprecatedMutexLocker locker(m_transactionInProgressMutex);
 
         // Clean up transactions that have not been scheduled yet:
         // Transaction phase 1 cleanup. See comment on "What happens if a
@@ -174,7 +174,7 @@ void Database::scheduleTransaction()
 
 PassRefPtr<SQLTransactionBackend> Database::runTransaction(PassRefPtr<SQLTransaction> transaction, bool readOnly, const ChangeVersionData* data)
 {
-    MutexLocker locker(m_transactionInProgressMutex);
+    DeprecatedMutexLocker locker(m_transactionInProgressMutex);
     if (!m_isTransactionQueueEnabled)
         return 0;
 
@@ -202,14 +202,14 @@ void Database::scheduleTransactionStep(SQLTransactionBackend* transaction)
 
 void Database::inProgressTransactionCompleted()
 {
-    MutexLocker locker(m_transactionInProgressMutex);
+    DeprecatedMutexLocker locker(m_transactionInProgressMutex);
     m_transactionInProgress = false;
     scheduleTransaction();
 }
 
 bool Database::hasPendingTransaction()
 {
-    MutexLocker locker(m_transactionInProgressMutex);
+    DeprecatedMutexLocker locker(m_transactionInProgressMutex);
     return m_transactionInProgress || !m_transactionQueue.isEmpty();
 }