Remove needless access to 'arguments'.

This commit is contained in:
Tetsuharu OHZEKI 2013-11-07 00:42:14 +09:00 committed by Piro / YUKI Hiroshi
parent ee1eec680d
commit b779d9306a
2 changed files with 4 additions and 4 deletions

View File

@ -1570,7 +1570,7 @@ var TreeStyleTabBase = {
*/ */
readyToOpenChildTabNow : function TSTBase_readyToOpenChildTabNow(aFrameOrTabBrowser, aMultiple) /* PUBLIC API */ readyToOpenChildTabNow : function TSTBase_readyToOpenChildTabNow(aFrameOrTabBrowser, aMultiple) /* PUBLIC API */
{ {
if (this.readyToOpenChildTab.apply(this, arguments)) { if (this.readyToOpenChildTab(aFrameOrTabBrowser, aMultiple, false)) {
let self = this; let self = this;
this.Deferred.next(function() { this.Deferred.next(function() {
self.stopToOpenChildTab(aFrameOrTabBrowser); self.stopToOpenChildTab(aFrameOrTabBrowser);
@ -1622,7 +1622,7 @@ var TreeStyleTabBase = {
*/ */
readyToOpenNextSiblingTabNow : function TSTBase_readyToOpenNextSiblingTabNow(aFrameOrTabBrowser) /* PUBLIC API */ readyToOpenNextSiblingTabNow : function TSTBase_readyToOpenNextSiblingTabNow(aFrameOrTabBrowser) /* PUBLIC API */
{ {
if (this.readyToOpenNextSiblingTab.apply(this, arguments)) { if (this.readyToOpenNextSiblingTab(aFrameOrTabBrowser)) {
let self = this; let self = this;
this.Deferred.next(function() { this.Deferred.next(function() {
self.stopToOpenChildTab(aFrameOrTabBrowser); self.stopToOpenChildTab(aFrameOrTabBrowser);
@ -1660,7 +1660,7 @@ var TreeStyleTabBase = {
readyToOpenNewTabGroupNow : function TSTBase_readyToOpenNewTabGroupNow(aFrameOrTabBrowser) /* PUBLIC API */ readyToOpenNewTabGroupNow : function TSTBase_readyToOpenNewTabGroupNow(aFrameOrTabBrowser) /* PUBLIC API */
{ {
if (this.readyToOpenNewTabGroup.apply(this, arguments)) { if (this.readyToOpenNewTabGroup(aFrameOrTabBrowser, null, null)) {
let self = this; let self = this;
this.Deferred.next(function() { this.Deferred.next(function() {
self.stopToOpenChildTab(aFrameOrTabBrowser); self.stopToOpenChildTab(aFrameOrTabBrowser);

View File

@ -977,7 +977,7 @@ TreeStyleTabBrowser.prototype = {
catch(e) { catch(e) {
dump(e+'\n'+e.stack+'\n'); dump(e+'\n'+e.stack+'\n');
} }
return this.__treestyletab__stop.apply(this, arguments); return this.__treestyletab__stop.apply(this, aTab);
}; };
} }