X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2FModules%2Findexeddb%2FIDBRequest.cpp;h=7dd30e9cff5db026287ccc0b41f61b0aa9f98819;hp=a1eaf2930c1a1eb8c27bcee8e52209e82698434e;hb=b86b8d8c7dcca618f2dbb470024066d6bba4b050;hpb=c6ce51867922d026bb015d6ec969c568bfda9ea8 diff --git a/Source/WebCore/Modules/indexeddb/IDBRequest.cpp b/Source/WebCore/Modules/indexeddb/IDBRequest.cpp index a1eaf29..7dd30e9 100644 --- a/Source/WebCore/Modules/indexeddb/IDBRequest.cpp +++ b/Source/WebCore/Modules/indexeddb/IDBRequest.cpp @@ -458,7 +458,8 @@ bool IDBRequest::dispatchEvent(PassRefPtr event) if (m_transaction) { if (event->type() == eventNames().errorEvent && dontPreventDefault && !m_requestAborted) { m_transaction->setError(m_error); - m_transaction->abort(); + ExceptionCode unused; + m_transaction->abort(unused); } if (event->type() != eventNames().blockedEvent) @@ -475,7 +476,8 @@ void IDBRequest::uncaughtExceptionInEventHandler() { if (m_transaction && !m_requestAborted) { m_transaction->setError(DOMError::create(IDBDatabaseException::getErrorName(IDBDatabaseException::IDB_ABORT_ERR))); - m_transaction->abort(); + ExceptionCode unused; + m_transaction->abort(unused); } }