diff --git a/src/Uno.UI/UI/Xaml/Controls/MediaPlayerElement/MediaPlayerElement.cs b/src/Uno.UI/UI/Xaml/Controls/MediaPlayerElement/MediaPlayerElement.cs index 2d89c5aac6cb..8446dd033719 100644 --- a/src/Uno.UI/UI/Xaml/Controls/MediaPlayerElement/MediaPlayerElement.cs +++ b/src/Uno.UI/UI/Xaml/Controls/MediaPlayerElement/MediaPlayerElement.cs @@ -13,11 +13,6 @@ namespace Windows.UI.Xaml.Controls [TemplatePart(Name = MediaPlayerPresenterName, Type = typeof(MediaPlayerPresenter))] [TemplatePart(Name = LayoutRootName, Type = typeof(Grid))] public partial class MediaPlayerElement -#if __IOS__ || __ANDROID__ || __MACOS__ - // To avoid causing FrameworkElement.Dispose to become virtual (and cause a breaking change), - // we keep the disposable for existing platforms, but we don't implement it for the other targets. - : IDisposable -#endif { private const string PosterImageName = "PosterImage"; private const string TransportControlsPresenterName = "TransportControlsPresenter";