Index: Source/modules/indexeddb/IDBTransaction.cpp |
diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp |
index b6b5e5b369c7e92f10fd90027aa73d5eb7a73c55..c4e4763dac2eb248f49f451e9e9de7a491764998 100644 |
--- a/Source/modules/indexeddb/IDBTransaction.cpp |
+++ b/Source/modules/indexeddb/IDBTransaction.cpp |
@@ -29,6 +29,8 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "bindings/core/v8/V8PerIsolateData.h" |
+#include "core/dom/DOMException.h" |
+#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/events/EventQueue.h" |
#include "core/inspector/ScriptCallStack.h" |
@@ -121,7 +123,7 @@ DEFINE_TRACE(IDBTransaction) |
ActiveDOMObject::trace(visitor); |
} |
-void IDBTransaction::setError(DOMError* error) |
+void IDBTransaction::setError(DOMException* error) |
{ |
ASSERT(m_state != Finished); |
ASSERT(error); |
@@ -231,7 +233,7 @@ void IDBTransaction::unregisterRequest(IDBRequest* request) |
m_requestList.remove(request); |
} |
-void IDBTransaction::onAbort(DOMError* error) |
+void IDBTransaction::onAbort(DOMException* error) |
{ |
IDB_TRACE("IDBTransaction::onAbort"); |
if (m_contextStopped) { |