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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.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/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index d7f260a29aa8b83fd136ce0b111c338ce7167e77..7d8dda695c86e2ec8a9cacd5dc9b119a18b4f009 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -160,9 +160,9 @@ void IDBDatabase::onComplete(int64_t transactionId)
m_transactions.get(transactionId)->onComplete();
}
-PassRefPtrWillBeRawPtr<DOMStringList> IDBDatabase::objectStoreNames() const
+RawPtr<DOMStringList> IDBDatabase::objectStoreNames() const
{
- RefPtrWillBeRawPtr<DOMStringList> objectStoreNames = DOMStringList::create(DOMStringList::IndexedDB);
+ RawPtr<DOMStringList> objectStoreNames = DOMStringList::create(DOMStringList::IndexedDB);
for (const auto& it : m_metadata.objectStores)
objectStoreNames->append(it.value.name);
objectStoreNames->sort();
@@ -378,7 +378,7 @@ void IDBDatabase::onVersionChange(int64_t oldVersion, int64_t newVersion)
enqueueEvent(IDBVersionChangeEvent::create(EventTypeNames::versionchange, oldVersion, newVersionNullable));
}
-void IDBDatabase::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
+void IDBDatabase::enqueueEvent(RawPtr<Event> event)
{
ASSERT(!m_contextStopped);
ASSERT(getExecutionContext());
@@ -388,7 +388,7 @@ void IDBDatabase::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
m_enqueuedEvents.append(event);
}
-DispatchEventResult IDBDatabase::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+DispatchEventResult IDBDatabase::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBDatabase::dispatchEvent");
if (m_contextStopped || !getExecutionContext())

Powered by Google App Engine
This is Rietveld 408576698