Fix the order of parameters.

This commit is contained in:
saneyuki_s 2012-09-23 21:04:20 +09:00
parent bf068dfdab
commit f05c10f5ef

View File

@ -1298,8 +1298,8 @@ var TreeStyleTabUtils = {
return (strip && strip instanceof Ci.nsIDOMElement) ? return (strip && strip instanceof Ci.nsIDOMElement) ?
strip : strip :
this.evaluateXPath( this.evaluateXPath(
aTabBrowser.tabContainer,
'ancestor::xul:toolbar[1]', 'ancestor::xul:toolbar[1]',
aTabBrowser.tabContainer,
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
).singleNodeValue || aTabBrowser.tabContainer.parentNode; ).singleNodeValue || aTabBrowser.tabContainer.parentNode;
}, },