r=dcone
For this part of the fix, removed a precondition check for a null input param.  It's legal (and necessary) here.
This commit is contained in:
buster%netscape.com 1999-12-23 21:02:45 +00:00
Родитель 0817720294
Коммит dc92b5dab3
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -114,7 +114,7 @@ NS_IMETHODIMP nsEditorController::SetContent(nsIHTMLContent *aContent)
NS_IMETHODIMP nsEditorController::SetEditor(nsIEditor *aEditor)
{
NS_ENSURE_ARG_POINTER(aEditor);
// null editors are allowed
mEditor = aEditor;
return NS_OK;
}

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

@ -114,7 +114,7 @@ NS_IMETHODIMP nsEditorController::SetContent(nsIHTMLContent *aContent)
NS_IMETHODIMP nsEditorController::SetEditor(nsIEditor *aEditor)
{
NS_ENSURE_ARG_POINTER(aEditor);
// null editors are allowed
mEditor = aEditor;
return NS_OK;
}