зеркало из https://github.com/mozilla/gecko-dev.git
Bug 714071 - The Show Statistics setting is not preserved when toggling the full screen mode. r=neil
This commit is contained in:
Родитель
8307497987
Коммит
8ea3a1426a
|
@ -448,6 +448,10 @@
|
||||||
this.controlBar.hidden = true;
|
this.controlBar.hidden = true;
|
||||||
this.adjustControlSize();
|
this.adjustControlSize();
|
||||||
|
|
||||||
|
// Preserve Statistics when toggling fullscreen mode due to bug 714071.
|
||||||
|
if (this.video.mozMediaStatisticsShowing)
|
||||||
|
this.showStatistics(true);
|
||||||
|
|
||||||
this._handleCustomEventsBound = this.handleCustomEvents.bind(this);
|
this._handleCustomEventsBound = this.handleCustomEvents.bind(this);
|
||||||
this.video.addEventListener("media-showStatistics", this._handleCustomEventsBound, false, true);
|
this.video.addEventListener("media-showStatistics", this._handleCustomEventsBound, false, true);
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче