зеркало из https://github.com/mozilla/gecko-dev.git
wrong ifdef. 25% increase in editor typing on windows r=ftang
This commit is contained in:
Родитель
301653b08b
Коммит
ec56b60700
|
@ -2346,7 +2346,7 @@ nsEditor::ForceCompositionEnd()
|
|||
// flag for Unix.
|
||||
// We should use nsILookAndFeel to resolve this
|
||||
|
||||
#if defined(XP_MAC) || defined(XP_WIN)
|
||||
#if defined(XP_MAC) || defined(XP_PC)
|
||||
if(! mInIMEMode)
|
||||
return NS_OK;
|
||||
#endif
|
||||
|
|
|
@ -2346,7 +2346,7 @@ nsEditor::ForceCompositionEnd()
|
|||
// flag for Unix.
|
||||
// We should use nsILookAndFeel to resolve this
|
||||
|
||||
#if defined(XP_MAC) || defined(XP_WIN)
|
||||
#if defined(XP_MAC) || defined(XP_PC)
|
||||
if(! mInIMEMode)
|
||||
return NS_OK;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче