Bug 594960: Use nsX11ErrorHandler in content processes. r=karl

This commit is contained in:
Chris Jones 2010-09-09 20:25:26 -05:00
parent ea71505514
commit 8d95296134

View File

@ -202,6 +202,11 @@ ContentChild::Init(MessageLoop* aIOLoop,
gtk_init(NULL, NULL);
#endif
#ifdef MOZ_X11
// Do this after initializing GDK, or GDK will install its own handler.
XRE_InstallX11ErrorHandler();
#endif
NS_ASSERTION(!sSingleton, "only one ContentChild per child");
Open(aChannel, aParentHandle, aIOLoop);