Index: Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
diff --git a/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp b/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
index f66ca05e1717dfb49e2f83726996d1f635266662..0d5ea23d09208e63cb36c0302e699e59d929b12c 100644 |
--- a/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
+++ b/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp |
@@ -29,7 +29,7 @@ |
#include "config.h" |
#include "modules/indexeddb/WebIDBCallbacksImpl.h" |
-#include "core/dom/DOMError.h" |
+#include "core/dom/DOMException.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "modules/indexeddb/IDBMetadata.h" |
#include "modules/indexeddb/IDBRequest.h" |
@@ -72,7 +72,7 @@ WebIDBCallbacksImpl::~WebIDBCallbacksImpl() |
void WebIDBCallbacksImpl::onError(const WebIDBDatabaseError& error) |
{ |
InspectorInstrumentationCookie cookie = InspectorInstrumentation::traceAsyncCallbackStarting(m_request->executionContext(), m_asyncOperationId); |
- m_request->onError(DOMError::create(error.code(), error.message())); |
+ m_request->onError(DOMException::create(error.code(), error.message())); |
InspectorInstrumentation::traceAsyncCallbackCompleted(cookie); |
} |