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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp

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/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index 302ad1b368d523e52ce3508d837b4b099d3b243f..66fa210ec1f8522614ffa77e159382a272d4c9f4 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -322,12 +322,12 @@ const String& IDBTransaction::mode() const
return IndexedDBNames::readonly;
}
-PassRefPtrWillBeRawPtr<DOMStringList> IDBTransaction::objectStoreNames() const
+RawPtr<DOMStringList> IDBTransaction::objectStoreNames() const
{
if (m_mode == WebIDBTransactionModeVersionChange)
return m_database->objectStoreNames();
- RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create(DOMStringList::IndexedDB);
+ RawPtr<DOMStringList> objectStoreNames = DOMStringList::create(DOMStringList::IndexedDB);
for (const String& name : m_objectStoreNames)
objectStoreNames->append(name);
objectStoreNames->sort();
@@ -344,7 +344,7 @@ ExecutionContext* IDBTransaction::executionContext() const
return ActiveDOMObject::executionContext();
}
-bool IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+bool IDBTransaction::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBTransaction::dispatchEvent");
if (m_contextStopped || !executionContext()) {
@@ -365,7 +365,7 @@ bool IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
it->transactionFinished();
m_deletedObjectStores.clear();
- WillBeHeapVector<RefPtrWillBeMember<EventTarget>> targets;
+ HeapVector<Member<EventTarget>> targets;
targets.append(this);
targets.append(db());
@@ -392,7 +392,7 @@ void IDBTransaction::stop()
abort(IGNORE_EXCEPTION);
}
-void IDBTransaction::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
+void IDBTransaction::enqueueEvent(RawPtr<Event> event)
{
ASSERT_WITH_MESSAGE(m_state != Finished, "A finished transaction tried to enqueue an event of type %s.", event->type().utf8().data());
if (m_contextStopped || !executionContext())

Powered by Google App Engine
This is Rietveld 408576698