Bug 1270614 - Rename ReportMSETelemetry(). r=SingingTree

This function is no longer MSE-specific, so use a more general
ReportTelemetry() name for it.

MozReview-Commit-ID: JU7S4pEFLWk
This commit is contained in:
Ralph Giles
2016-05-05 12:48:45 -07:00
parent 2c9db13f62
commit d206e3f28c
2 changed files with 3 additions and 3 deletions

View File

@@ -2792,7 +2792,7 @@ HTMLMediaElement::ReportEMETelemetry()
#endif
void
HTMLMediaElement::ReportMSETelemetry()
HTMLMediaElement::ReportTelemetry()
{
// Report telemetry for videos when a page is unloaded. We
// want to know data on what state the video is at when
@@ -4455,7 +4455,7 @@ void HTMLMediaElement::SuspendOrResumeElement(bool aPauseElement, bool aSuspendE
UpdateAudioChannelPlayingState();
if (aPauseElement) {
if (mMediaSource) {
ReportMSETelemetry();
ReportTelemetry();
#ifdef MOZ_EME
ReportEMETelemetry();
#endif