Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB

This commit is contained in:
Jonathan Griffin 2012-07-27 09:39:55 -07:00
parent 5b1a44348d
commit 241fc1b9c7

View File

@ -62,7 +62,7 @@ ElementManager.prototype = {
*/
addToKnownElements: function EM_addToKnownElements(element) {
for (let i in this.seenItems) {
if (this.seenItems[i] == element) {
if (XPCNativeWrapper(this.seenItems[i]) == XPCNativeWrapper(element)) {
return i;
}
}