Index: Source/modules/presentation/PresentationSessionClientCallbacks.h |
diff --git a/Source/modules/presentation/PresentationSessionClientCallbacks.h b/Source/modules/presentation/PresentationSessionClientCallbacks.h |
index 6ac5230807e9cf5b4cd5f1e4e85a8fa89fcea091..193d92643038ad050f3a15fe8b9dbcd4551637cf 100644 |
--- a/Source/modules/presentation/PresentationSessionClientCallbacks.h |
+++ b/Source/modules/presentation/PresentationSessionClientCallbacks.h |
@@ -8,8 +8,6 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/presentation/WebPresentationClient.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefPtr.h" |
namespace blink { |
@@ -27,7 +25,7 @@ class ScriptPromiseResolver; |
class PresentationSessionClientCallbacks final : public WebPresentationSessionClientCallbacks { |
WTF_MAKE_NONCOPYABLE(PresentationSessionClientCallbacks); |
public: |
- PresentationSessionClientCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>, Presentation*); |
+ PresentationSessionClientCallbacks(ScriptPromiseResolver*, Presentation*); |
~PresentationSessionClientCallbacks() override; |
// WebPresentationSessionClientCallbacks implementation. |
@@ -35,7 +33,7 @@ public: |
void onError(WebPresentationError*) override; |
private: |
- RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver; |
+ Persistent<ScriptPromiseResolver> m_resolver; |
Persistent<Presentation> m_presentation; |
}; |