mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Bug 594960: Use nsX11ErrorHandler in content processes. r=karl
This commit is contained in:
parent
ea71505514
commit
8d95296134
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user