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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.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/IDBTransaction.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
index 01dcff4f91de01b3c72473848ad6db945d01a216..b0f77bcf291dfe0f586d7d84eb208297891987bc 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
@@ -54,7 +54,7 @@ class MODULES_EXPORT IDBTransaction final
, public ActiveScriptWrappable
, public ActiveDOMObject {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBTransaction);
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBTransaction);
+ USING_GARBAGE_COLLECTED_MIXIN(IDBTransaction);
DEFINE_WRAPPERTYPEINFO();
public:
static IDBTransaction* create(ScriptState*, int64_t, const HashSet<String>& objectStoreNames, WebIDBTransactionMode, IDBDatabase*);
@@ -76,7 +76,7 @@ public:
// Implement the IDBTransaction IDL
const String& mode() const;
- PassRefPtrWillBeRawPtr<DOMStringList> objectStoreNames() const;
+ RawPtr<DOMStringList> objectStoreNames() const;
IDBDatabase* db() const { return m_database.get(); }
DOMException* error() const { return m_error; }
IDBObjectStore* objectStore(const String& name, ExceptionState&);
@@ -108,12 +108,12 @@ public:
protected:
// EventTarget
- DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+ DispatchEventResult dispatchEventInternal(RawPtr<Event>) override;
private:
IDBTransaction(ScriptState*, int64_t, const HashSet<String>&, WebIDBTransactionMode, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&);
- void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
+ void enqueueEvent(RawPtr<Event>);
enum State {
Inactive, // Created or started, but not in an event callback

Powered by Google App Engine
This is Rietveld 408576698