| Index: public/platform/WebServiceWorkerRegistration.h
|
| diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h
|
| index e73eb456d0bde48a42ae27ff924c35e8c7c5acab..0bf5cd19406418dc7d94059544c240cd4954e5b1 100644
|
| --- a/public/platform/WebServiceWorkerRegistration.h
|
| +++ b/public/platform/WebServiceWorkerRegistration.h
|
| @@ -6,20 +6,20 @@
|
| #define WebServiceWorkerRegistration_h
|
|
|
| #include "public/platform/WebCallbacks.h"
|
| +#include "public/platform/WebServiceWorkerError.h"
|
| #include "public/platform/WebURL.h"
|
|
|
| namespace blink {
|
|
|
| class WebServiceWorkerProvider;
|
| class WebServiceWorkerRegistrationProxy;
|
| -struct WebServiceWorkerError;
|
|
|
| class WebServiceWorkerRegistration {
|
| public:
|
| virtual ~WebServiceWorkerRegistration() { }
|
|
|
| - using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebServiceWorkerError*>;
|
| - using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebServiceWorkerError*>;
|
| + using WebServiceWorkerUpdateCallbacks = WebCallbacks<void, WebPassOwnPtr<WebServiceWorkerError>>;
|
| + using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebPassOwnPtr<WebServiceWorkerError>>;
|
|
|
| virtual void setProxy(WebServiceWorkerRegistrationProxy*) { }
|
| virtual WebServiceWorkerRegistrationProxy* proxy() { return nullptr; }
|
|
|