Bug 225991 DRefTool analysis for editor files
r=roc sr=roc
This commit is contained in:
Родитель
f104882237
Коммит
93d52bd385
|
@ -738,6 +738,9 @@ nsEditor::BeginPlaceHolderTransaction(nsIAtom *aName)
|
|||
nsresult res = GetSelection(getter_AddRefs(selection));
|
||||
if (NS_FAILED(res)) return res;
|
||||
mSelState = new nsSelectionState();
|
||||
if (!mSelState)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
mSelState->SaveSelection(selection);
|
||||
}
|
||||
mPlaceHolderBatch++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче