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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
index a99e467554571bfa28215290aa1dc3dcfbe166bc..225122ad65ba696c8324ca4fe4761deff99f97b8 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
@@ -61,7 +61,7 @@ class MODULES_EXPORT IDBRequest
, public ActiveDOMObject {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBRequest);
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBRequest);
+ USING_GARBAGE_COLLECTED_MIXIN(IDBRequest);
public:
static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*);
~IDBRequest() override;
@@ -131,14 +131,14 @@ public:
protected:
IDBRequest(ScriptState*, IDBAny* source, IDBTransaction*);
- void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
+ void enqueueEvent(RawPtr<Event>);
void dequeueEvent(Event*);
virtual bool shouldEnqueueEvent() const;
void onSuccessInternal(IDBAny*);
void setResult(IDBAny*);
// EventTarget
- DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+ DispatchEventResult dispatchEventInternal(RawPtr<Event>) override;
bool m_contextStopped = false;
Member<IDBTransaction> m_transaction;
@@ -156,7 +156,7 @@ private:
Member<DOMException> m_error;
bool m_hasPendingActivity = true;
- WillBeHeapVector<RefPtrWillBeMember<Event>> m_enqueuedEvents;
+ HeapVector<Member<Event>> m_enqueuedEvents;
// Only used if the result type will be a cursor.
IndexedDB::CursorType m_cursorType = IndexedDB::CursorKeyAndValue;

Powered by Google App Engine
This is Rietveld 408576698