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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp

Issue 1364823002: IndexedDB: Replace use of DOMError with DOMException (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop [Measure] where done Created 5 years, 1 month 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: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index b6b5e5b369c7e92f10fd90027aa73d5eb7a73c55..c4e4763dac2eb248f49f451e9e9de7a491764998 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/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) {

Powered by Google App Engine
This is Rietveld 408576698