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

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, 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
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 6e2ed6aa0b96b74088e8d13e6ad008717dd850f4..63d42296362416454ac1090c310072d0261c2597 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
@@ -59,7 +59,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;
@@ -127,14 +127,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
- bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+ bool dispatchEventInternal(RawPtr<Event>) override;
bool m_contextStopped = false;
Member<IDBTransaction> m_transaction;
@@ -152,7 +152,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