Index: Source/modules/webdatabase/SQLTransaction.cpp |
diff --git a/Source/modules/webdatabase/SQLTransaction.cpp b/Source/modules/webdatabase/SQLTransaction.cpp |
index 7ed75feb471b88d0fd403ebdf5f52bf75e265cb1..21c5ff340b8b58d49a6242497be05a92217497e1 100644 |
--- a/Source/modules/webdatabase/SQLTransaction.cpp |
+++ b/Source/modules/webdatabase/SQLTransaction.cpp |
@@ -253,7 +253,7 @@ void SQLTransaction::performPendingCallback() |
void SQLTransaction::executeSQL(const String& sqlStatement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> callbackError, ExceptionCode& e) |
{ |
if (!m_executeSqlAllowed || !m_database->opened()) { |
- e = INVALID_STATE_ERR; |
+ e = InvalidStateError; |
return; |
} |