mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Fix crashes in GTK1 builds due to reuse of rendering contexts for the caret.
Bug 254049, patch by Mark Banner <mark@standard8.demon.co.uk>, r=jst, sr=roc
This commit is contained in:
parent
39c443dabd
commit
f01adb747a
@ -70,11 +70,12 @@
|
||||
// an insignificant dot
|
||||
static const PRUint32 kMinBidiIndicatorPixels = 2;
|
||||
|
||||
#if !defined(XP_UNIX) || defined(XP_MACOSX)
|
||||
#if !defined(MOZ_WIDGET_GTK2)
|
||||
// Because of drawing issues, we currently always make a new RC. See bug 28068
|
||||
// Before removing this, stuff will need to be fixed and tested on all platforms.
|
||||
// For example, turning this off on Mac right now causes drawing problems on pages
|
||||
// with form elements.
|
||||
// Also turning this off caused problems on GTK1. See bug 254049.
|
||||
#define DONT_REUSE_RENDERING_CONTEXT
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user