Bug 241507

Don't create new rendering contexts for each caret drawn on *nix platforms since there are no known issues with doing so.  If issues crop up, I will undo this change.
r/sr=jst/bryner
This commit is contained in:
caillon%redhat.com 2004-06-29 19:12:19 +00:00
parent d4e61b3868
commit 8f71882950
2 changed files with 4 additions and 0 deletions

View File

@ -65,11 +65,13 @@
#include "nsCaret.h"
#if !defined(XP_UNIX) || defined(XP_MACOSX)
// 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.
#define DONT_REUSE_RENDERING_CONTEXT
#endif
#ifdef IBMBIDI
//-------------------------------IBM BIDI--------------------------------------

View File

@ -65,11 +65,13 @@
#include "nsCaret.h"
#if !defined(XP_UNIX) || defined(XP_MACOSX)
// 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.
#define DONT_REUSE_RENDERING_CONTEXT
#endif
#ifdef IBMBIDI
//-------------------------------IBM BIDI--------------------------------------