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) ?
strip :
this.evaluateXPath(
aTabBrowser.tabContainer,
'ancestor::xul:toolbar[1]',
aTabBrowser.tabContainer,
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
).singleNodeValue || aTabBrowser.tabContainer.parentNode;
},