diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-12 22:09:39 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-20 13:34:29 +0100 |
commit | b048d7faf717bb5ac90f02301b567b25d37681f3 (patch) | |
tree | a717bffa9cab78447eaccc1982e93d92a3d263ec /components/script_traits/lib.rs | |
parent | 9da1dd359290bf59a0990a8664b58b5cfbb1f091 (diff) | |
download | servo-b048d7faf717bb5ac90f02301b567b25d37681f3.tar.gz servo-b048d7faf717bb5ac90f02301b567b25d37681f3.zip |
Fix media session action handling
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 7216a369693..a8a19b5a40a 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -389,7 +389,7 @@ pub enum ConstellationControlMsg { /// Notifies the script thread about a new recorded paint metric. PaintMetric(PipelineId, ProgressiveWebMetricType, u64), /// Notifies the media session about a user requested media session action. - MediaSessionAction(BrowsingContextId, MediaSessionActionType), + MediaSessionAction(PipelineId, MediaSessionActionType), } impl fmt::Debug for ConstellationControlMsg { @@ -881,7 +881,7 @@ pub enum ConstellationMsg { /// Request to exit from fullscreen mode ExitFullScreen(TopLevelBrowsingContextId), /// Media session action. - MediaSessionAction(TopLevelBrowsingContextId, MediaSessionActionType), + MediaSessionAction(MediaSessionActionType), } impl fmt::Debug for ConstellationMsg { |