Index: public/platform/modules/presentation/WebPresentationClient.h |
diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h |
index e8f8a48b5125c0caa8e6821ea2a342f6a8fe0b34..e1269d01143664399a15395b6ed1e64bd0cd6026 100644 |
--- a/public/platform/modules/presentation/WebPresentationClient.h |
+++ b/public/platform/modules/presentation/WebPresentationClient.h |
@@ -20,10 +20,10 @@ 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<WebPassOwnPtr<bool>, WebPassOwnPtr<WebPresentationError>>; |
+using WebPresentationAvailabilityCallbacks = WebCallbacks<bool, const WebPresentationError&>; |
// The implementation the embedder has to provide for the Presentation API to work. |
class WebPresentationClient { |