mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 784730 - Add missing comment. r=bholley DONTBUILD
This commit is contained in:
parent
3c0ed7f773
commit
0d610e97de
@ -1582,6 +1582,7 @@ XPCWrappedNative::ReparentWrapperIfFound(XPCCallContext& ccx,
|
||||
wrapper->UpdateScriptableInfo(newProto->GetScriptableInfo());
|
||||
}
|
||||
|
||||
// Crash if the wrapper is already in the new scope.
|
||||
if (newMap->Find(wrapper->GetIdentityObject()))
|
||||
MOZ_CRASH();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user