From 04dfd4f2cf82a7fd92613aedf6fa57742a8ef682 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Tue, 13 Nov 2007 08:44:48 -0800 Subject: [PATCH] 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] --- layout/forms/nsComboboxControlFrame.cpp | 2 +- layout/forms/test/Makefile.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/forms/nsComboboxControlFrame.cpp b/layout/forms/nsComboboxControlFrame.cpp index 1a7c5e8c816d..c4396969bda2 100644 --- a/layout/forms/nsComboboxControlFrame.cpp +++ b/layout/forms/nsComboboxControlFrame.cpp @@ -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 diff --git a/layout/forms/test/Makefile.in b/layout/forms/test/Makefile.in index 5fef22cd46dc..3c3cf9e1e98e 100644 --- a/layout/forms/test/Makefile.in +++ b/layout/forms/test/Makefile.in @@ -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)