Index: public/platform/WebServiceWorkerRegistration.h |
diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h |
index 0bf5cd19406418dc7d94059544c240cd4954e5b1..e835d8ab9290a4b4483a4ae508414951ad892157 100644 |
--- a/public/platform/WebServiceWorkerRegistration.h |
+++ b/public/platform/WebServiceWorkerRegistration.h |
@@ -18,8 +18,8 @@ class WebServiceWorkerRegistration { |
public: |
virtual ~WebServiceWorkerRegistration() { } |
- using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebPassOwnPtr<WebServiceWorkerError>>; |
- using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebPassOwnPtr<WebServiceWorkerError>>; |
+ using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, const WebServiceWorkerError&>; |
+ using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool, const WebServiceWorkerError&>; |
virtual void setProxy(WebServiceWorkerRegistrationProxy*) { } |
virtual WebServiceWorkerRegistrationProxy* proxy() { return nullptr; } |