Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+

--HG--
extra : rebase_source : 3595e03c255a6f348b97bc4e340d271733ccacbb
This commit is contained in:
Ehsan Akhgari 2011-02-10 16:12:53 -05:00
parent d1ae4c4539
commit afb9868f71

View File

@ -318,8 +318,8 @@ void nsCaret::SetCaretVisible(PRBool inMakeVisible)
{
mVisible = inMakeVisible;
if (mVisible) {
StartBlinking();
SetIgnoreUserModify(PR_TRUE);
StartBlinking();
} else {
StopBlinking();
SetIgnoreUserModify(PR_FALSE);