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

Unified Diff: Source/modules/indexeddb/IDBRequest.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 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/IDBDatabaseCallbacks.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 4ffd6a8440b285e27d5282224dd3d7d2f6049fcc..5a99e8fc3f7eeb79e890f2a96a40fe671b8f843c 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -38,6 +38,7 @@
#include "core/events/EventListener.h"
#include "core/events/EventTarget.h"
#include "core/events/ThreadLocalEventNames.h"
+#include "heap/Handle.h"
#include "modules/indexeddb/IDBAny.h"
#include "modules/indexeddb/IDBCursor.h"
#include "modules/indexeddb/IDBTransaction.h"
@@ -67,7 +68,7 @@ public:
virtual ~IDBRequest();
ScriptValue result(ExceptionState&);
- PassRefPtr<DOMError> error(ExceptionState&) const;
+ PassRefPtrWillBeRawPtr<DOMError> error(ExceptionState&) const;
ScriptValue source(ExecutionContext*) const;
PassRefPtr<IDBTransaction> transaction() const { return m_transaction; }
@@ -94,7 +95,7 @@ public:
void setPendingCursor(PassRefPtr<IDBCursor>);
void abort();
- virtual void onError(PassRefPtr<DOMError>);
+ virtual void onError(PassRefPtrWillBeRawPtr<DOMError>);
virtual void onSuccess(const Vector<String>&);
virtual void onSuccess(PassOwnPtr<blink::WebIDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>);
virtual void onSuccess(PassRefPtr<IDBKey>);
@@ -156,7 +157,7 @@ private:
RefPtr<IDBAny> m_source;
RefPtr<IDBAny> m_result;
- RefPtr<DOMError> m_error;
+ RefPtrWillBePersistent<DOMError> m_error;
bool m_hasPendingActivity;
Vector<RefPtr<Event> > m_enqueuedEvents;
« no previous file with comments | « Source/modules/indexeddb/IDBDatabaseCallbacks.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698