Bug 849237 - Remove _handleTabTelemetryStart's useless aTabContainer parameter. r=felipe

This commit is contained in:
Dão Gottwald 2013-03-11 12:47:46 +01:00
parent ccf2d2ab5f
commit 79b8a4f516

View File

@ -1432,7 +1432,7 @@
}
if (animate) {
this.tabContainer._handleTabTelemetryStart(this.tabContainer, t, aURI);
this.tabContainer._handleTabTelemetryStart(t, aURI);
// kick the animation off
t.clientTop;
@ -1575,7 +1575,7 @@
return;
}
this.tabContainer._handleTabTelemetryStart(this.tabContainer, aTab);
this.tabContainer._handleTabTelemetryStart(aTab);
this._blurTab(aTab);
aTab.removeAttribute("fadein");
@ -3524,13 +3524,12 @@
</method>
<method name="_handleTabTelemetryStart">
<parameter name="aTabContainer"/>
<parameter name="aTab"/>
<parameter name="aURI"/>
<body>
<![CDATA[
// Animation-smoothness telemetry/logging
if (Services.telemetry.canRecord || aTabContainer._tabAnimationLoggingEnabled) {
if (Services.telemetry.canRecord || this._tabAnimationLoggingEnabled) {
if (aURI == "about:newtab" && (aTab._tPos == 1 || aTab._tPos == 2)) {
// Indicate newtab page animation where other tabs are unaffected
// (for which case, the 2nd or 3rd tabs are good representatives, even if not absolute)