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

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, 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/IDBRequest.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
index 0c88bf3a50550254b9dc63db557d1a11d1937378..3701194946e36db9ea746bda392a190b46b8cce2 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
@@ -240,7 +240,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()));
@@ -411,7 +411,7 @@ ExecutionContext* IDBRequest::getExecutionContext() const
return ActiveDOMObject::getExecutionContext();
}
-DispatchEventResult IDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
+DispatchEventResult IDBRequest::dispatchEventInternal(RawPtr<Event> event)
{
IDB_TRACE("IDBRequest::dispatchEvent");
if (m_contextStopped || !getExecutionContext())
@@ -427,7 +427,7 @@ DispatchEventResult IDBRequest::dispatchEventInternal(PassRefPtrWillBeRawPtr<Eve
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);
@@ -510,7 +510,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