diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-14 16:57:01 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 15:17:54 +0200 |
commit | 28a3cd1028612b3b577768519d11fa6fbcda6f09 (patch) | |
tree | 61a64f843d3bfed644305987dbe1482d7b39c11a /dom/media/MediaManager.cpp | |
parent | f987138760b344a8869e319f28400acc438d0553 (diff) | |
download | uxp-28a3cd1028612b3b577768519d11fa6fbcda6f09.tar.gz |
Issue #1053 - First pass Android defines and remove Android Annotation
processors, some Andoid packaging stuff, Eclipse IDE support et al.
Diffstat (limited to 'dom/media/MediaManager.cpp')
-rw-r--r-- | dom/media/MediaManager.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/dom/media/MediaManager.cpp b/dom/media/MediaManager.cpp index 6b16d698d3..54b09e6447 100644 --- a/dom/media/MediaManager.cpp +++ b/dom/media/MediaManager.cpp @@ -1564,28 +1564,6 @@ private: RefPtr<MediaManager> mManager; // get ref to this when creating the runnable }; -#if defined(ANDROID) -class GetUserMediaRunnableWrapper : public Runnable -{ -public: - // This object must take ownership of task - GetUserMediaRunnableWrapper(GetUserMediaTask* task) : - mTask(task) { - } - - ~GetUserMediaRunnableWrapper() { - } - - NS_IMETHOD Run() override { - mTask->Run(); - return NS_OK; - } - -private: - nsAutoPtr<GetUserMediaTask> mTask; -}; -#endif - /** * EnumerateRawDevices - Enumerate a list of audio & video devices that * satisfy passed-in constraints. List contains raw id's. @@ -2577,8 +2555,7 @@ MediaEngine* MediaManager::GetBackend(uint64_t aWindowId) { MOZ_ASSERT(MediaManager::IsInMediaThread()); - // Plugin backends as appropriate. The default engine also currently - // includes picture support for Android. + // Plugin backends as appropriate. // This IS called off main-thread. if (!mBackend) { MOZ_RELEASE_ASSERT(!sInShutdown); // we should never create a new backend in shutdown |