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

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, 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.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index 508312daa62046507ab6460a1484cd33f09dc195..0add9cedcdfa9a24e26789fccd03b277b8385a28 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -339,12 +339,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();
@@ -361,7 +361,7 @@ ExecutionContext* IDBTransaction::getExecutionContext() const
return ActiveDOMObject::getExecutionContext();
}
-DispatchEventResult IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+DispatchEventResult IDBTransaction::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBTransaction::dispatchEvent");
if (m_contextStopped || !getExecutionContext()) {
@@ -384,7 +384,7 @@ DispatchEventResult IDBTransaction::dispatchEventInternal(PassRefPtrWillBeRawPtr
m_createdObjectStores.clear();
m_deletedObjectStores.clear();
- WillBeHeapVector<RefPtrWillBeMember<EventTarget>> targets;
+ HeapVector<Member<EventTarget>> targets;
targets.append(this);
targets.append(db());
@@ -411,7 +411,7 @@ void IDBTransaction::stop()
abort(IGNORE_EXCEPTION);
}
-void IDBTransaction::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
+void IDBTransaction::enqueueEvent(RawPtr<Event> event)
{
DCHECK_NE(m_state, Finished) << "A finished transaction tried to enqueue an event of type " << event->type() << ".";
if (m_contextStopped || !getExecutionContext())

Powered by Google App Engine
This is Rietveld 408576698