зеркало из https://github.com/mozilla/gecko-dev.git
fixed bug 22228
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:
Родитель
0817720294
Коммит
dc92b5dab3
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче