зеркало из https://github.com/mozilla/gecko-dev.git
8aba061809
Avoid relying on X11 errors to detect failures where alternative means would suffice (i.e. checking results for failure or MakeCurrent failures). All other users of ScopedXErrorHandler outside of GLContextProviderGLX use it only to ignore errors rather than actually check the error result. Given those concerns, we also change the default X11 error handler to merely ignore errors rather than abort, such that X11 calls in Gecko no longer require an error trap by default. This also avoids contention with other libraries that may temporarily override the error handler such as GDK or Cairo since Gecko will never touch the handler after startup. Differential Revision: https://phabricator.services.mozilla.com/D147247 |
||
---|---|---|
.. | ||
AppUnits.h | ||
ArrayView.h | ||
CompositorHitTestInfo.h | ||
DriverCrashGuard.cpp | ||
DriverCrashGuard.h | ||
FilterDescription.h | ||
FilterSupport.cpp | ||
FilterSupport.h | ||
FontPropertyTypes.h | ||
RegionBuilder.h | ||
RelativeLuminanceUtils.h | ||
X11UndefineNone.h | ||
X11Util.cpp | ||
X11Util.h | ||
components.conf | ||
gfxCrashReporterUtils.cpp | ||
gfxCrashReporterUtils.h | ||
gfxTelemetry.cpp | ||
gfxTelemetry.h | ||
moz.build | ||
nsBoundingMetrics.h | ||
nsColor.cpp | ||
nsColor.h | ||
nsColorNameList.h | ||
nsColorNames.h | ||
nsCoord.h | ||
nsDeviceContext.cpp | ||
nsDeviceContext.h | ||
nsFont.cpp | ||
nsFont.h | ||
nsFontCache.cpp | ||
nsFontCache.h | ||
nsFontMetrics.cpp | ||
nsFontMetrics.h | ||
nsGfxCIID.h | ||
nsIFontEnumerator.idl | ||
nsITheme.h | ||
nsMargin.h | ||
nsPoint.h | ||
nsRect.cpp | ||
nsRect.h | ||
nsRectAbsolute.h | ||
nsRegion.cpp | ||
nsRegion.h | ||
nsRegionFwd.h | ||
nsSize.h | ||
nsThebesFontEnumerator.cpp | ||
nsThebesFontEnumerator.h | ||
nsTransform2D.cpp | ||
nsTransform2D.h |