зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1314858 - Remove PContent.NotifyGMPsChanged. r=gerald
MozReview-Commit-ID: FMb3AbEEnl5 --HG-- extra : rebase_source : 0adb2527cf71d0c43956b8051ce6a493becc3056
This commit is contained in:
Родитель
7250493ddc
Коммит
098c153601
|
@ -194,7 +194,6 @@
|
|||
#include "mozilla/widget/PuppetBidiKeyboard.h"
|
||||
#include "mozilla/RemoteSpellCheckEngineChild.h"
|
||||
#include "GMPServiceChild.h"
|
||||
#include "GMPDecoderModule.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "nscore.h" // for NS_FREE_PERMANENT_DATA
|
||||
#include "VRManagerChild.h"
|
||||
|
@ -1705,14 +1704,6 @@ ContentChild::RecvNotifyPresentationReceiverCleanUp(const nsString& aSessionId)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
ContentChild::RecvNotifyGMPsChanged()
|
||||
{
|
||||
GMPDecoderModule::UpdateUsableCodecs();
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
ContentChild::RecvNotifyEmptyHTTPCache()
|
||||
{
|
||||
|
|
|
@ -360,8 +360,6 @@ public:
|
|||
virtual bool
|
||||
RecvNotifyPresentationReceiverCleanUp(const nsString& aSessionId) override;
|
||||
|
||||
virtual bool RecvNotifyGMPsChanged() override;
|
||||
|
||||
virtual bool RecvNotifyEmptyHTTPCache() override;
|
||||
|
||||
virtual PSpeechSynthesisChild* AllocPSpeechSynthesisChild() override;
|
||||
|
|
|
@ -561,7 +561,6 @@ static const char* sObserverTopics[] = {
|
|||
"profiler-subprocess-gather",
|
||||
"profiler-subprocess",
|
||||
#endif
|
||||
"gmp-changed",
|
||||
"cacheservice:empty-cache",
|
||||
};
|
||||
|
||||
|
@ -2846,9 +2845,6 @@ ContentParent::Observe(nsISupports* aSubject,
|
|||
Unused << SendPauseProfiler(false);
|
||||
}
|
||||
#endif
|
||||
else if (!strcmp(aTopic, "gmp-changed")) {
|
||||
Unused << SendNotifyGMPsChanged();
|
||||
}
|
||||
else if (!strcmp(aTopic, "cacheservice:empty-cache")) {
|
||||
Unused << SendNotifyEmptyHTTPCache();
|
||||
}
|
||||
|
|
|
@ -628,11 +628,6 @@ child:
|
|||
*/
|
||||
async NotifyPresentationReceiverCleanUp(nsString aSessionId);
|
||||
|
||||
/**
|
||||
* Notify the child that the Gecko Media Plugins installed changed.
|
||||
*/
|
||||
async NotifyGMPsChanged();
|
||||
|
||||
/**
|
||||
* Notify the child that cache is emptied.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче