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

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, 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.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index 8ff9caa79da9e0b357be63f4d51db5475276827c..7a0963912caea22de602449974b936b8c4269c79 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -159,9 +159,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();
@@ -385,7 +385,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(executionContext());
@@ -395,7 +395,7 @@ void IDBDatabase::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
m_enqueuedEvents.append(event);
}
-bool IDBDatabase::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+bool IDBDatabase::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBDatabase::dispatchEvent");
if (m_contextStopped || !executionContext())

Powered by Google App Engine
This is Rietveld 408576698