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

Unified Diff: Source/modules/background_sync/SyncCallbacks.cpp

Issue 1233173002: Have ScriptPromiseResolver on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix webusb ScriptPromiseResolver usage Created 5 years, 4 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
« no previous file with comments | « Source/modules/background_sync/SyncCallbacks.h ('k') | Source/modules/background_sync/SyncManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/SyncCallbacks.cpp
diff --git a/Source/modules/background_sync/SyncCallbacks.cpp b/Source/modules/background_sync/SyncCallbacks.cpp
index ef12922311e6c1e78fefabaa42568ef11175f851..02fa918d1a0665640530629f9fe5f728713a4b3f 100644
--- a/Source/modules/background_sync/SyncCallbacks.cpp
+++ b/Source/modules/background_sync/SyncCallbacks.cpp
@@ -15,7 +15,7 @@
namespace blink {
-SyncRegistrationCallbacks::SyncRegistrationCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
+SyncRegistrationCallbacks::SyncRegistrationCallbacks(ScriptPromiseResolver* resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
: m_resolver(resolver)
, m_serviceWorkerRegistration(serviceWorkerRegistration)
{
@@ -57,7 +57,7 @@ void SyncRegistrationCallbacks::onError(WebSyncError* error)
m_resolver->reject(SyncError::take(m_resolver.get(), error));
}
-SyncUnregistrationCallbacks::SyncUnregistrationCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
+SyncUnregistrationCallbacks::SyncUnregistrationCallbacks(ScriptPromiseResolver* resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
: m_resolver(resolver)
, m_serviceWorkerRegistration(serviceWorkerRegistration)
{
@@ -88,7 +88,7 @@ void SyncUnregistrationCallbacks::onError(WebSyncError* error)
m_resolver->reject(SyncError::take(m_resolver.get(), error));
}
-SyncGetRegistrationsCallbacks::SyncGetRegistrationsCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
+SyncGetRegistrationsCallbacks::SyncGetRegistrationsCallbacks(ScriptPromiseResolver* resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
: m_resolver(resolver)
, m_serviceWorkerRegistration(serviceWorkerRegistration)
{
@@ -146,7 +146,7 @@ void SyncGetRegistrationsCallbacks::onError(WebSyncError* error)
m_resolver->reject(SyncError::take(m_resolver.get(), error));
}
-SyncGetPermissionStatusCallbacks::SyncGetPermissionStatusCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
+SyncGetPermissionStatusCallbacks::SyncGetPermissionStatusCallbacks(ScriptPromiseResolver* resolver, ServiceWorkerRegistration* serviceWorkerRegistration)
: m_resolver(resolver)
, m_serviceWorkerRegistration(serviceWorkerRegistration)
{
« no previous file with comments | « Source/modules/background_sync/SyncCallbacks.h ('k') | Source/modules/background_sync/SyncManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698