just changed a comment to reflect reality, and removed some commented out code

This commit is contained in:
buster%netscape.com 1999-09-22 01:14:21 +00:00
Родитель cf619e311d
Коммит b77a584214
1 изменённых файлов: 1 добавлений и 7 удалений

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

@ -2365,13 +2365,7 @@ nsEnderFocusListener::Focus(nsIDOMEvent* aEvent)
result = mContent->HandleDOMEvent(*mContext, &event, nsnull, NS_EVENT_FLAG_INIT, status); result = mContent->HandleDOMEvent(*mContext, &event, nsnull, NS_EVENT_FLAG_INIT, status);
} }
//3. Do the processing for the frame //3. In this case, the frame does no processing of the event
/*
nsCOMPtr<nsIContent> content=nsnull;
mFrame->GetContent(getter_AddRefs(content));
if (content)
manager->SetContentState(content, NS_EVENT_STATE_FOCUS);
*/
//4. Give event to event manager for post event state changes and generation of synthetic events. //4. Give event to event manager for post event state changes and generation of synthetic events.
if (NS_SUCCEEDED(result)) { if (NS_SUCCEEDED(result)) {