Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1972)

Unified Diff: Source/modules/indexeddb/WebIDBCallbacksImpl.cpp

Issue 1182233003: IndexedDB: Replace use of DOMError with DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « Source/modules/indexeddb/IDBTransactionTest.cpp ('k') | Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698