summaryrefslogtreecommitdiffstats
path: root/dom/media/mediacontrol/MediaController.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/mediacontrol/MediaController.h')
-rw-r--r--dom/media/mediacontrol/MediaController.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/mediacontrol/MediaController.h b/dom/media/mediacontrol/MediaController.h
index 82b351ead7..f95ff6368e 100644
--- a/dom/media/mediacontrol/MediaController.h
+++ b/dom/media/mediacontrol/MediaController.h
@@ -159,7 +159,7 @@ class MediaController final : public DOMEventTargetHelper,
void HandleSupportedMediaSessionActionsChanged(
const nsTArray<MediaSessionAction>& aSupportedAction);
- void HandlePositionStateChanged(const PositionState& aState);
+ void HandlePositionStateChanged(const Maybe<PositionState>& aState);
void HandleMetadataChanged(const MediaMetadataBase& aMetadata);
// This would register controller to the media control service that takes a