bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
MozReview-Commit-ID: 9Io2fABc2hI
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
#ifdef MOZ_X11
|
||||
# include "nsX11ErrorHandler.h"
|
||||
# include "mozilla/X11Util.h"
|
||||
#endif
|
||||
#include "mozilla/ipc/ProcessChild.h"
|
||||
@@ -593,7 +594,7 @@ PluginModuleChild::InitGraphics()
|
||||
#endif
|
||||
#ifdef MOZ_X11
|
||||
// Do this after initializing GDK, or GDK will install its own handler.
|
||||
XRE_InstallX11ErrorHandler();
|
||||
InstallX11ErrorHandler();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user