зеркало из https://github.com/mozilla/pjs.git
trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
This commit is contained in:
Родитель
19d4959fb5
Коммит
9624f91fa7
|
@ -168,7 +168,7 @@ nsGfxTextControlFrame::InitTextControl()
|
||||||
mDocObserver->SetFrame(this);
|
mDocObserver->SetFrame(this);
|
||||||
NS_ADDREF(mDocObserver);
|
NS_ADDREF(mDocObserver);
|
||||||
|
|
||||||
nsCOMPtr<nsIEditor> theEditor;
|
nsCOMPtr<nsIHTMLEditor> theEditor;
|
||||||
result = nsComponentManager::CreateInstance(kHTMLEditorCID,
|
result = nsComponentManager::CreateInstance(kHTMLEditorCID,
|
||||||
nsnull,
|
nsnull,
|
||||||
nsIHTMLEditor::GetIID(), getter_AddRefs(theEditor));
|
nsIHTMLEditor::GetIID(), getter_AddRefs(theEditor));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче