diff options
Diffstat (limited to 'WebCore/storage/SQLTransaction.cpp')
-rw-r--r-- | WebCore/storage/SQLTransaction.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/storage/SQLTransaction.cpp b/WebCore/storage/SQLTransaction.cpp index 960427b..decdf24 100644 --- a/WebCore/storage/SQLTransaction.cpp +++ b/WebCore/storage/SQLTransaction.cpp @@ -33,7 +33,6 @@ #include "Database.h" #include "DatabaseThread.h" -#include "ExceptionCode.h" #include "Logging.h" #include "PlatformString.h" #include "ScriptExecutionContext.h" @@ -370,7 +369,7 @@ bool SQLTransaction::runCurrentStatement() // Flag this transaction as having changed the database for later delegate notification m_modifiedDatabase = true; // Also dirty the size of this database file for calculating quota usage - m_database->transactionClient()->didExecuteStatement(this); + m_database->transactionClient()->didExecuteStatement(database()); } if (m_currentStatement->hasStatementCallback()) { @@ -432,7 +431,7 @@ void SQLTransaction::deliverQuotaIncreaseCallback() ASSERT(m_currentStatement); ASSERT(!m_shouldRetryCurrentStatement); - m_shouldRetryCurrentStatement = m_database->transactionClient()->didExceedQuota(this); + m_shouldRetryCurrentStatement = m_database->transactionClient()->didExceedQuota(database()); m_nextStep = &SQLTransaction::runStatements; LOG(StorageAPI, "Scheduling runStatements for transaction %p\n", this); @@ -472,7 +471,7 @@ void SQLTransaction::postflightAndCommit() // The commit was successful. If the transaction modified this database, notify the delegates. if (m_modifiedDatabase) - m_database->transactionClient()->didCommitTransaction(this); + m_database->transactionClient()->didCommitWriteTransaction(database()); // Now release our unneeded callbacks, to break reference cycles. m_callback = 0; |