Index: public/platform/modules/presentation/WebPresentationClient.h |
diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h |
index 56ad6e16be589dc46e19e3febd56621a6ecf4088..9b6c1d4d1f69167a022c3e442a97d40bf8453dcd 100644 |
--- a/public/platform/modules/presentation/WebPresentationClient.h |
+++ b/public/platform/modules/presentation/WebPresentationClient.h |
@@ -20,7 +20,7 @@ struct WebPresentationError; |
// If session was created, callback's onSuccess() is invoked with the information about the |
// presentation session created by the embedder. Otherwise, onError() is invoked with the error code |
// and message. |
-using WebPresentationSessionClientCallbacks = WebCallbacks<WebPassOwnPtr<WebPresentationSessionClient>, WebPassOwnPtr<WebPresentationError>>; |
+using WebPresentationSessionClientCallbacks = WebCallbacks<WebPassOwnPtr<WebPresentationSessionClient>, const WebPresentationError&>; |
// Callback for .getAvailability(). |
using WebPresentationAvailabilityCallbacks = WebCallbacks<bool*, WebPresentationError*>; |