From b77a584214e861ab5542106d1534ac4060b880a1 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Wed, 22 Sep 1999 01:14:21 +0000 Subject: [PATCH] just changed a comment to reflect reality, and removed some commented out code --- layout/html/forms/src/nsGfxTextControlFrame.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/layout/html/forms/src/nsGfxTextControlFrame.cpp b/layout/html/forms/src/nsGfxTextControlFrame.cpp index f4549da51478..9f67c7c84885 100644 --- a/layout/html/forms/src/nsGfxTextControlFrame.cpp +++ b/layout/html/forms/src/nsGfxTextControlFrame.cpp @@ -2365,13 +2365,7 @@ nsEnderFocusListener::Focus(nsIDOMEvent* aEvent) result = mContent->HandleDOMEvent(*mContext, &event, nsnull, NS_EVENT_FLAG_INIT, status); } - //3. Do the processing for the frame - /* - nsCOMPtr content=nsnull; - mFrame->GetContent(getter_AddRefs(content)); - if (content) - manager->SetContentState(content, NS_EVENT_STATE_FOCUS); - */ + //3. In this case, the frame does no processing of the event //4. Give event to event manager for post event state changes and generation of synthetic events. if (NS_SUCCEEDED(result)) {