From 651d3a02d62a195cbd5caee75099184f13f7d1ed Mon Sep 17 00:00:00 2001 From: "kin%netscape.com" Date: Wed, 16 Oct 2002 19:02:05 +0000 Subject: [PATCH] Temporarily disable attachment 87307 (Async reflow, painting, and scrolling for text widgets) which landed as part of bug 141900. Will re-enable it after bugs 158782, 151882, and 165130 are addressed. The patch simply prevents the eEditorUseAsyncUpdatesMask bit from being set on the editor. r=brade@netscape.com sr=sfraser@netscape.com a=brendan@mozilla.org git-svn-id: svn://10.0.0.236/trunk@132088 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsTextControlFrame.cpp | 5 ++++- mozilla/layout/html/forms/src/nsTextControlFrame.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/forms/nsTextControlFrame.cpp b/mozilla/layout/forms/nsTextControlFrame.cpp index 7ffa665c0d1..b7ab31fdc79 100644 --- a/mozilla/layout/forms/nsTextControlFrame.cpp +++ b/mozilla/layout/forms/nsTextControlFrame.cpp @@ -1909,7 +1909,10 @@ nsTextControlFrame::CreateAnonymousContent(nsIPresContext* aPresContext, // Use async reflow and painting for text widgets to improve // performance. - editorFlags |= nsIPlaintextEditor::eEditorUseAsyncUpdatesMask; + // XXX: Using editor async updates exposes bugs 158782, 151882, + // and 165130, so we're disabling it for now, until they + // can be addressed. + // editorFlags |= nsIPlaintextEditor::eEditorUseAsyncUpdatesMask; // Now initialize the editor. // diff --git a/mozilla/layout/html/forms/src/nsTextControlFrame.cpp b/mozilla/layout/html/forms/src/nsTextControlFrame.cpp index 7ffa665c0d1..b7ab31fdc79 100644 --- a/mozilla/layout/html/forms/src/nsTextControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsTextControlFrame.cpp @@ -1909,7 +1909,10 @@ nsTextControlFrame::CreateAnonymousContent(nsIPresContext* aPresContext, // Use async reflow and painting for text widgets to improve // performance. - editorFlags |= nsIPlaintextEditor::eEditorUseAsyncUpdatesMask; + // XXX: Using editor async updates exposes bugs 158782, 151882, + // and 165130, so we're disabling it for now, until they + // can be addressed. + // editorFlags |= nsIPlaintextEditor::eEditorUseAsyncUpdatesMask; // Now initialize the editor. //