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

Unified Diff: Source/modules/push_messaging/PushRegistrationCallbacks.cpp

Issue 783423003: Make ScriptPromiseResolver RefCountedWillBeRefCountedGarbageCollected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: Source/modules/push_messaging/PushRegistrationCallbacks.cpp
diff --git a/Source/modules/push_messaging/PushRegistrationCallbacks.cpp b/Source/modules/push_messaging/PushRegistrationCallbacks.cpp
index e449aa5c2790625c43ed49fa67026c9954d6a731..7a660c89c515cc7cf72a18cf9f33b54fa867e0c2 100644
--- a/Source/modules/push_messaging/PushRegistrationCallbacks.cpp
+++ b/Source/modules/push_messaging/PushRegistrationCallbacks.cpp
@@ -12,7 +12,7 @@
namespace blink {
-PushRegistrationCallbacks::PushRegistrationCallbacks(PassRefPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* registration)
+PushRegistrationCallbacks::PushRegistrationCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, ServiceWorkerRegistration* registration)
: m_resolver(resolver)
, m_serviceWorkerRegistration(registration)
{

Powered by Google App Engine
This is Rietveld 408576698