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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.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/IDBDatabase.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
index 03aab5056c2b6f1cef63a7396f5c6bc6b897d988..93b4dd04be4136275f89a5c2abe6c227666dc4c4 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
@@ -57,7 +57,7 @@ class MODULES_EXPORT IDBDatabase final
: public RefCountedGarbageCollectedEventTargetWithInlineData<IDBDatabase>
, public ActiveDOMObject {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBDatabase);
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
+ USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
DEFINE_WRAPPERTYPEINFO();
public:
static IDBDatabase* create(ExecutionContext*, PassOwnPtr<WebIDBDatabase>, IDBDatabaseCallbacks*);
@@ -73,7 +73,7 @@ public:
// Implement the IDL
const String& name() const { return m_metadata.name; }
void version(UnsignedLongLongOrString& result) const;
- PassRefPtrWillBeRawPtr<DOMStringList> objectStoreNames() const;
+ RawPtr<DOMStringList> objectStoreNames() const;
IDBObjectStore* createObjectStore(const String& name, const IDBObjectStoreParameters& options, ExceptionState& exceptionState) { return createObjectStore(name, IDBKeyPath(options.keyPath()), options.autoIncrement(), exceptionState); }
IDBTransaction* transaction(ScriptState*, const StringOrStringSequenceOrDOMStringList&, const String& mode, ExceptionState&);
@@ -101,7 +101,7 @@ public:
bool isClosePending() const { return m_closePending; }
void forceClose();
const IDBDatabaseMetadata& metadata() const { return m_metadata; }
- void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
+ void enqueueEvent(RawPtr<Event>);
int64_t findObjectStoreId(const String& name) const;
bool containsObjectStore(const String& name) const
@@ -134,7 +134,7 @@ public:
protected:
// EventTarget
- bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+ bool dispatchEventInternal(RawPtr<Event>) override;
private:
IDBDatabase(ExecutionContext*, PassOwnPtr<WebIDBDatabase>, IDBDatabaseCallbacks*);
@@ -152,7 +152,7 @@ private:
// Keep track of the versionchange events waiting to be fired on this
// database so that we can cancel them if the database closes.
- WillBeHeapVector<RefPtrWillBeMember<Event>> m_enqueuedEvents;
+ HeapVector<Member<Event>> m_enqueuedEvents;
Member<IDBDatabaseCallbacks> m_databaseCallbacks;
};

Powered by Google App Engine
This is Rietveld 408576698