Bug 402198 - Use async version of Invalidate() to avoid flushing pending notifications [p=mats.palmgren@bredband.net (Mats Palmgren) r+sr=roc a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2007-11-13 08:44:48 -08:00
parent 825f140f9c
commit 04dfd4f2cf
2 changed files with 2 additions and 1 deletions

View File

@ -359,7 +359,7 @@ nsComboboxControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
// This is needed on a temporary basis. It causes the focus
// rect to be drawn. This is much faster than ReResolvingStyle
// Bug 32920
Invalidate(nsRect(0,0,mRect.width,mRect.height), PR_TRUE);
Invalidate(nsRect(0,0,mRect.width,mRect.height), PR_FALSE);
// Make sure the content area gets updated for where the dropdown was
// This is only needed for embedding, the focus may go to

View File

@ -45,6 +45,7 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TEST_FILES = test_bug345267.html \
test_bug402198.html \
$(NULL)
libs:: $(_TEST_FILES)