Bug 424989 Cannot use reconversion of IMEs from system menu at the focus being on textarea r+sr=roc, b1.9=jonas

This commit is contained in:
masayuki@d-toybox.com 2008-03-29 12:38:05 -07:00
parent 3007ad4a80
commit 2a69e80bd1

View File

@ -2466,11 +2466,6 @@ nsTextControlFrame::GetText(nsString* aText)
} else { } else {
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea = do_QueryInterface(mContent); nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea = do_QueryInterface(mContent);
if (textArea) { if (textArea) {
if (mEditor) {
nsCOMPtr<nsIEditorIMESupport> imeSupport = do_QueryInterface(mEditor);
if (imeSupport)
imeSupport->ForceCompositionEnd();
}
rv = textArea->GetValue(*aText); rv = textArea->GetValue(*aText);
} }
} }