mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 849237 - Remove _handleTabTelemetryStart's useless aTabContainer parameter. r=felipe
This commit is contained in:
parent
ccf2d2ab5f
commit
79b8a4f516
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user