mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 22:41:02 +00:00
Bug 1328058 - part2 : rename function. r=baku
Rename function MaybeNotifyMediaBlocked() to MaybeNotifyMediaBlockStart(). MozReview-Commit-ID: CJyWiKKkpwd --HG-- extra : rebase_source : cc9c86f366f580830fec47006da686feeed4030b
This commit is contained in:
parent
1694edb819
commit
3e3c405bdd
@ -1370,7 +1370,7 @@ AudioChannelService::AudioChannelWindow::AudioAudibleChanged(AudioChannelAgent*
|
||||
|
||||
NotifyAudioCompetingChanged(aAgent, aAudible == AudibleState::eAudible);
|
||||
if (aAudible != AudibleState::eNotAudible) {
|
||||
MaybeNotifyMediaBlocked(aAgent);
|
||||
MaybeNotifyMediaBlockStart(aAgent);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1447,7 +1447,7 @@ AudioChannelService::AudioChannelWindow::NotifyChannelActive(uint64_t aWindowID,
|
||||
}
|
||||
|
||||
void
|
||||
AudioChannelService::AudioChannelWindow::MaybeNotifyMediaBlocked(AudioChannelAgent* aAgent)
|
||||
AudioChannelService::AudioChannelWindow::MaybeNotifyMediaBlockStart(AudioChannelAgent* aAgent)
|
||||
{
|
||||
nsCOMPtr<nsPIDOMWindowOuter> window = aAgent->Window();
|
||||
if (!window) {
|
||||
|
@ -299,7 +299,7 @@ private:
|
||||
|
||||
void NotifyChannelActive(uint64_t aWindowID, AudioChannel aChannel,
|
||||
bool aActive);
|
||||
void MaybeNotifyMediaBlocked(AudioChannelAgent* aAgent);
|
||||
void MaybeNotifyMediaBlockStart(AudioChannelAgent* aAgent);
|
||||
|
||||
void RequestAudioFocus(AudioChannelAgent* aAgent);
|
||||
void NotifyAudioCompetingChanged(AudioChannelAgent* aAgent, bool aActive);
|
||||
|
Loading…
x
Reference in New Issue
Block a user