Index: Source/modules/webdatabase/SQLTransaction.cpp |
diff --git a/Source/modules/webdatabase/SQLTransaction.cpp b/Source/modules/webdatabase/SQLTransaction.cpp |
index 4911f283450cbccb8faa4a9fcfa974fa08e9ecfb..61328203fbc5d3b8d5a0c438a1eec0f7ee724102 100644 |
--- a/Source/modules/webdatabase/SQLTransaction.cpp |
+++ b/Source/modules/webdatabase/SQLTransaction.cpp |
@@ -29,7 +29,6 @@ |
#include "config.h" |
#include "modules/webdatabase/SQLTransaction.h" |
-#include "bindings/v8/ExceptionState.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/html/VoidCallback.h" |
#include "core/platform/Logging.h" |
@@ -251,10 +250,10 @@ void SQLTransaction::performPendingCallback() |
runStateMachine(); |
} |
-void SQLTransaction::executeSQL(const String& sqlStatement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> callbackError, ExceptionState& es) |
+void SQLTransaction::executeSQL(const String& sqlStatement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> callbackError, ExceptionCode& ec) |
{ |
if (!m_executeSqlAllowed || !m_database->opened()) { |
- es.throwDOMException(InvalidStateError); |
+ ec = InvalidStateError; |
return; |
} |