diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h b/chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h index aaf3ab16c0a..1ee3d182e2d 100644 --- a/chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h +++ b/chromium/third_party/blink/renderer/modules/mediarecorder/media_recorder.h @@ -10,12 +10,10 @@ #include "third_party/blink/public/platform/web_media_recorder_handler_client.h" #include "third_party/blink/renderer/bindings/core/v8/active_script_wrappable.h" #include "third_party/blink/renderer/core/dom/events/event_target.h" -#include "third_party/blink/renderer/core/dom/pausable_object.h" #include "third_party/blink/renderer/modules/event_target_modules.h" #include "third_party/blink/renderer/modules/mediarecorder/media_recorder_options.h" #include "third_party/blink/renderer/modules/mediastream/media_stream.h" #include "third_party/blink/renderer/modules/modules_export.h" -#include "third_party/blink/renderer/platform/async_method_runner.h" namespace blink { @@ -27,7 +25,7 @@ class MODULES_EXPORT MediaRecorder final : public EventTargetWithInlineData, public WebMediaRecorderHandlerClient, public ActiveScriptWrappable<MediaRecorder>, - public PausableObject { + public ContextLifecycleObserver { USING_GARBAGE_COLLECTED_MIXIN(MediaRecorder); DEFINE_WRAPPERTYPEINFO(); @@ -74,9 +72,7 @@ class MODULES_EXPORT MediaRecorder final const AtomicString& InterfaceName() const override; ExecutionContext* GetExecutionContext() const override; - // PausableObject - void Pause() override; - void Unpause() override; + // ContextLifecycleObserver void ContextDestroyed(ExecutionContext* context) override; // ScriptWrappable @@ -110,7 +106,6 @@ class MODULES_EXPORT MediaRecorder final std::unique_ptr<WebMediaRecorderHandler> recorder_handler_; - Member<AsyncMethodRunner<MediaRecorder>> dispatch_scheduled_event_runner_; HeapVector<Member<Event>> scheduled_events_; }; |