| Index: Source/modules/indexeddb/IDBTransaction.h
|
| diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
|
| index 45805b6a199c93920f475a402adf403e66ece253..b70ebb4f1d7026cc4492ea9b632e8e0e9f009f7c 100644
|
| --- a/Source/modules/indexeddb/IDBTransaction.h
|
| +++ b/Source/modules/indexeddb/IDBTransaction.h
|
| @@ -33,6 +33,7 @@
|
| #include "core/events/EventListener.h"
|
| #include "core/events/EventTarget.h"
|
| #include "core/events/ThreadLocalEventNames.h"
|
| +#include "heap/Handle.h"
|
| #include "modules/indexeddb/IDBMetadata.h"
|
| #include "modules/indexeddb/IndexedDB.h"
|
| #include "public/platform/WebIDBDatabase.h"
|
| @@ -75,7 +76,7 @@ public:
|
| // Implement the IDBTransaction IDL
|
| const String& mode() const;
|
| IDBDatabase* db() const { return m_database.get(); }
|
| - PassRefPtr<DOMError> error() const { return m_error; }
|
| + PassRefPtrWillBeRawPtr<DOMError> error() const { return m_error; }
|
| PassRefPtr<IDBObjectStore> objectStore(const String& name, ExceptionState&);
|
| void abort(ExceptionState&);
|
|
|
| @@ -84,13 +85,13 @@ public:
|
| void objectStoreCreated(const String&, PassRefPtr<IDBObjectStore>);
|
| void objectStoreDeleted(const String&);
|
| void setActive(bool);
|
| - void setError(PassRefPtr<DOMError>);
|
| + void setError(PassRefPtrWillBeRawPtr<DOMError>);
|
|
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(complete);
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
|
|
|
| - void onAbort(PassRefPtr<DOMError>);
|
| + void onAbort(PassRefPtrWillBeRawPtr<DOMError>);
|
| void onComplete();
|
|
|
| // EventTarget
|
| @@ -124,7 +125,7 @@ private:
|
| State m_state;
|
| bool m_hasPendingActivity;
|
| bool m_contextStopped;
|
| - RefPtr<DOMError> m_error;
|
| + RefPtrWillBePersistent<DOMError> m_error;
|
|
|
| ListHashSet<RefPtr<IDBRequest> > m_requestList;
|
|
|
|
|