| Index: Source/modules/audio_output_devices/SetSinkIdCallbacks.h
|
| diff --git a/Source/modules/audio_output_devices/SetSinkIdCallbacks.h b/Source/modules/audio_output_devices/SetSinkIdCallbacks.h
|
| index 023023b2d19e79b2f31ecaf85709a662ddd8d080..463044b419990814480aafeaa0cf71a225a59337 100644
|
| --- a/Source/modules/audio_output_devices/SetSinkIdCallbacks.h
|
| +++ b/Source/modules/audio_output_devices/SetSinkIdCallbacks.h
|
| @@ -9,7 +9,6 @@
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/WebCallbacks.h"
|
| #include "wtf/Noncopyable.h"
|
| -#include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| namespace blink {
|
| @@ -21,14 +20,14 @@ struct WebSetSinkIdError;
|
| class SetSinkIdCallbacks final : public WebCallbacks<void, WebSetSinkIdError> {
|
| WTF_MAKE_NONCOPYABLE(SetSinkIdCallbacks);
|
| public:
|
| - SetSinkIdCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>, HTMLMediaElement&, const String& sinkId);
|
| + SetSinkIdCallbacks(ScriptPromiseResolver*, HTMLMediaElement&, const String& sinkId);
|
| ~SetSinkIdCallbacks() override;
|
|
|
| void onSuccess() override;
|
| void onError(WebSetSinkIdError*) override;
|
|
|
| private:
|
| - RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver;
|
| + Persistent<ScriptPromiseResolver> m_resolver;
|
| RefPtrWillBePersistent<HTMLMediaElement> m_element;
|
| String m_sinkId;
|
| };
|
|
|