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

Unified Diff: Source/modules/indexeddb/IDBTransaction.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
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/indexeddb/IDBTransaction.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/indexeddb/IDBTransaction.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698