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

View File

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