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

Unified Diff: Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.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/WebIDBCallbacksImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp
diff --git a/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp b/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp
index 60b95fd3ae09d37073f8f224f4d1ad7be0f5a158..89bf2168912788e818de3caac63c835ed1483130 100644
--- a/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp
+++ b/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp
@@ -26,7 +26,7 @@
#include "config.h"
#include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h"
-#include "core/dom/DOMError.h"
+#include "core/dom/DOMException.h"
namespace blink {
@@ -57,7 +57,7 @@ void WebIDBDatabaseCallbacksImpl::onVersionChange(long long oldVersion, long lon
void WebIDBDatabaseCallbacksImpl::onAbort(long long transactionId, const WebIDBDatabaseError& error)
{
- m_callbacks->onAbort(transactionId, DOMError::create(error.code(), error.message()));
+ m_callbacks->onAbort(transactionId, DOMException::create(error.code(), error.message()));
}
void WebIDBDatabaseCallbacksImpl::onComplete(long long transactionId)
« no previous file with comments | « Source/modules/indexeddb/WebIDBCallbacksImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698