Index: Source/modules/presentation/PresentationSession.h |
diff --git a/Source/modules/presentation/PresentationSession.h b/Source/modules/presentation/PresentationSession.h |
index b8e8edbdd116d8da62982a0717bac232b07d3511..ab59b51b9d1665133618735963585c2fdc521d24 100644 |
--- a/Source/modules/presentation/PresentationSession.h |
+++ b/Source/modules/presentation/PresentationSession.h |
@@ -11,6 +11,7 @@ |
#include "core/frame/DOMWindowProperty.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/presentation/WebPresentationSessionClient.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/text/WTFString.h" |
namespace WTF { |
@@ -31,7 +32,7 @@ class PresentationSession final |
DEFINE_WRAPPERTYPEINFO(); |
public: |
// For CallbackPromiseAdapter. |
- using WebType = WebPresentationSessionClient; |
+ using WebType = OwnPtr<WebPresentationSessionClient>; |
static PresentationSession* take(ScriptPromiseResolver*, PassOwnPtr<WebPresentationSessionClient>); |
static PresentationSession* take(PresentationController*, PassOwnPtr<WebPresentationSessionClient>); |