mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Backed out changeset 8b1b90e5fd34 (bug 988863) for rooting hazard failures
This commit is contained in:
parent
daab4e413e
commit
77a4d1b1db
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user