bustage fix for non-IPC

This commit is contained in:
Olli Pettay 2010-05-25 11:58:38 +03:00
parent ed95f1a1e5
commit 93849c0c9f

View File

@ -1840,9 +1840,11 @@ nsFrameLoader::EnsureMessageManager()
return rv;
}
if (mMessageManager) {
#ifdef MOZ_IPC
if (ShouldUseRemoteProcess()) {
mMessageManager->SetCallbackData(mRemoteWidgetCreated ? this : nsnull);
}
#endif
return NS_OK;
}