diff options
author | trav90 <travawine@palemoon.org> | 2018-11-21 08:51:13 -0600 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-11-21 08:51:13 -0600 |
commit | 4c8c14a712515bc867d6fbfdb9366b976c5904f5 (patch) | |
tree | e3137c4b6f106d6a8e409f13d4a3adc8e0bc1e3c /dom | |
parent | 513bf1b6832ed056241bbc376537c55c2d3a987e (diff) | |
download | UXP-4c8c14a712515bc867d6fbfdb9366b976c5904f5.tar UXP-4c8c14a712515bc867d6fbfdb9366b976c5904f5.tar.gz UXP-4c8c14a712515bc867d6fbfdb9366b976c5904f5.tar.lz UXP-4c8c14a712515bc867d6fbfdb9366b976c5904f5.tar.xz UXP-4c8c14a712515bc867d6fbfdb9366b976c5904f5.zip |
Remove OMX_PLATFORM_GONK
Diffstat (limited to 'dom')
-rw-r--r-- | dom/media/platforms/omx/OmxPlatformLayer.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/dom/media/platforms/omx/OmxPlatformLayer.cpp b/dom/media/platforms/omx/OmxPlatformLayer.cpp index 039b4a22f..15b3062a4 100644 --- a/dom/media/platforms/omx/OmxPlatformLayer.cpp +++ b/dom/media/platforms/omx/OmxPlatformLayer.cpp @@ -282,26 +282,7 @@ OmxPlatformLayer::CompressionFormat() } } -// Implementations for different platforms will be defined in their own files. -#ifdef OMX_PLATFORM_GONK - -bool -OmxPlatformLayer::SupportsMimeType(const nsACString& aMimeType) -{ - return GonkOmxPlatformLayer::FindComponents(aMimeType); -} - -OmxPlatformLayer* -OmxPlatformLayer::Create(OmxDataDecoder* aDataDecoder, - OmxPromiseLayer* aPromiseLayer, - TaskQueue* aTaskQueue, - layers::ImageContainer* aImageContainer) -{ - return new GonkOmxPlatformLayer(aDataDecoder, aPromiseLayer, aTaskQueue, aImageContainer); -} - -#else // For platforms without OMX IL support. - +// For platforms without OMX IL support. bool OmxPlatformLayer::SupportsMimeType(const nsACString& aMimeType) { @@ -317,6 +298,4 @@ OmxPlatformLayer::Create(OmxDataDecoder* aDataDecoder, return nullptr; } -#endif - } |