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
Родитель 558b39dfd5
Коммит 5b562b55a5
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -359,7 +359,7 @@ nsComboboxControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
// This is needed on a temporary basis. It causes the focus // This is needed on a temporary basis. It causes the focus
// rect to be drawn. This is much faster than ReResolvingStyle // rect to be drawn. This is much faster than ReResolvingStyle
// Bug 32920 // 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 // Make sure the content area gets updated for where the dropdown was
// This is only needed for embedding, the focus may go to // This is only needed for embedding, the focus may go to

Просмотреть файл

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