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:
Alastor Wu 2017-02-03 14:47:11 +08:00
parent 1694edb819
commit 3e3c405bdd
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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);