Backed out changeset 8b1b90e5fd34 (bug 988863) for rooting hazard failures

This commit is contained in:
Ed Morley 2014-03-27 16:41:49 +00:00
parent daab4e413e
commit 77a4d1b1db

View File

@ -3506,9 +3506,6 @@ nsLocationSH::AddProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
return NS_ERROR_FAILURE;
}
nsLocation* location = static_cast<nsLocation*>(GetNative(wrapper, obj));
location->PreserveWrapper(location);
return NS_OK;
}