mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
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:
parent
d4e61b3868
commit
8f71882950
@ -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--------------------------------------
|
||||
|
@ -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--------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user