summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
diff options
context:
space:
mode:
authorharaken@chromium.org <haraken@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-04-03 12:05:04 +0000
committerharaken@chromium.org <haraken@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-04-03 12:05:04 +0000
commitc7a1cf6da51680df07cc2bf9a728c723260295e0 (patch)
tree199fad0c63db6c0ab9e970910c803c3a1285723f /third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
parent1bf7d74887fba1e0b6cd79dca424bf759a3abef4 (diff)
downloadchromium_src-c7a1cf6da51680df07cc2bf9a728c723260295e0.zip
chromium_src-c7a1cf6da51680df07cc2bf9a728c723260295e0.tar.gz
chromium_src-c7a1cf6da51680df07cc2bf9a728c723260295e0.tar.bz2
Oilpan: Replace most of RefPtrs of Event objects with oilpan's transition types
- Basically, this CL does the following three things: (1) Replace PassRefPtr<xxxEvent> with PassRefPtrWillBeRawPtr<xxxEvent>. (2) Replace RefPtr<xxxEvent> in on-heap objects with RefPtrWillBeMember<xxxEvent>. (3) Replace RefPtr<xxxEvent> in off-heap objects with RefPtrWillBePersistent<xxxEvent>. - This CL is not replacing any raw pointers with Members/Persistents, so it won't produce new memory leaks. - This CL uses ListHashSet<Persistent<Event>> for DOMWindowEventQueue::m_queuedEvents, because HeapListHashSet is not yet implemented. - This CL uses Deque<Persistent<Event>> for WebSocket::m_events, because HeapDeque is not yet implemented. - In follow-up CLs, I will move more Event related objects to the heap and reduce Persistent handles introduced in this CL. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170733 Review URL: https://codereview.chromium.org/216523002 git-svn-id: svn://svn.chromium.org/blink/trunk@170769 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp')
-rw-r--r--third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
index 123a5ff..45eecc2 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp
@@ -145,7 +145,7 @@ bool IDBOpenDBRequest::shouldEnqueueEvent() const
return true;
}
-bool IDBOpenDBRequest::dispatchEvent(PassRefPtr<Event> event)
+bool IDBOpenDBRequest::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
{
// If the connection closed between onUpgradeNeeded and the delivery of the "success" event,
// an "error" event should be fired instead.