зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6fcaaf5e1f
Коммит
3ef2e416b4
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче