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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequest.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/IDBRequest.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
index ad24e92427c36faaf472b84d7172b97c3c1842a7..a40c1d1023629912f8e98c233de4ad252ea24652 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
@@ -239,7 +239,7 @@ void IDBRequest::onSuccess(const Vector<String>& stringList)
if (!shouldEnqueueEvent())
return;
- RefPtrWillBeRawPtr<DOMStringList> domStringList = DOMStringList::create(DOMStringList::IndexedDB);
+ RawPtr<DOMStringList> domStringList = DOMStringList::create(DOMStringList::IndexedDB);
for (size_t i = 0; i < stringList.size(); ++i)
domStringList->append(stringList[i]);
onSuccessInternal(IDBAny::create(domStringList.release()));
@@ -410,7 +410,7 @@ ExecutionContext* IDBRequest::executionContext() const
return ActiveDOMObject::executionContext();
}
-bool IDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+bool IDBRequest::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBRequest::dispatchEvent");
if (m_contextStopped || !executionContext())
@@ -426,7 +426,7 @@ bool IDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
m_readyState = DONE;
dequeueEvent(event.get());
- WillBeHeapVector<RefPtrWillBeMember<EventTarget>> targets;
+ HeapVector<Member<EventTarget>> targets;
targets.append(this);
if (m_transaction && !m_preventPropagation) {
targets.append(m_transaction);
@@ -509,7 +509,7 @@ void IDBRequest::transactionDidFinishAndDispatch()
m_readyState = PENDING;
}
-void IDBRequest::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
+void IDBRequest::enqueueEvent(RawPtr<Event> event)
{
ASSERT(m_readyState == PENDING || m_readyState == DONE);

Powered by Google App Engine
This is Rietveld 408576698