зеркало из https://github.com/mozilla/gecko-dev.git
Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst
This commit is contained in:
Родитель
682b8978d2
Коммит
354e978735
|
@ -300,6 +300,17 @@ XPCCallContext::SetArgsAndResultPtr(uintN argc,
|
|||
{
|
||||
CHECK_STATE(HAVE_OBJECT);
|
||||
|
||||
if(mState < HAVE_NAME)
|
||||
{
|
||||
mSet = nsnull;
|
||||
mInterface = nsnull;
|
||||
mMember = nsnull;
|
||||
#ifdef XPC_IDISPATCH_SUPPORT
|
||||
mIDispatchMember = nsnull;
|
||||
#endif
|
||||
mStaticMemberIsLocal = JS_FALSE;
|
||||
}
|
||||
|
||||
mArgc = argc;
|
||||
mArgv = argv;
|
||||
mRetVal = rval;
|
||||
|
|
Загрузка…
Ссылка в новой задаче