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

Unified Diff: public/platform/WebServiceWorkerRegistration.h

Issue 1240763002: CallbackPromiseAdapter types should be more compatible with WebCallbacks (3/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: public/platform/WebServiceWorkerRegistration.h
diff --git a/public/platform/WebServiceWorkerRegistration.h b/public/platform/WebServiceWorkerRegistration.h
index 7f3f2b5d6f7df86dacd6f659dd4acbad008a1a92..389ba8368e14d9b94990e3a0da37faf33d67362e 100644
--- a/public/platform/WebServiceWorkerRegistration.h
+++ b/public/platform/WebServiceWorkerRegistration.h
@@ -18,7 +18,7 @@ class WebServiceWorkerRegistration {
public:
virtual ~WebServiceWorkerRegistration() { }
- using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool*, WebPassOwnPtr<WebServiceWorkerError>>;
+ using WebServiceWorkerUnregistrationCallbacks = WebCallbacks<bool, const WebServiceWorkerError&>;
virtual void setProxy(WebServiceWorkerRegistrationProxy*) { }
virtual WebServiceWorkerRegistrationProxy* proxy() { return nullptr; }

Powered by Google App Engine
This is Rietveld 408576698