зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1170484 - Followup fix to make the guard object actually a guard object. r=me CLOSED TREE
This commit is contained in:
Родитель
f1fc12d77b
Коммит
268566e18f
|
@ -946,7 +946,7 @@ mozInlineSpellChecker::ReplaceWord(nsIDOMNode *aNode, int32_t aOffset,
|
|||
|
||||
if (range)
|
||||
{
|
||||
nsAutoPlaceHolderBatch(editor, nullptr);
|
||||
nsAutoPlaceHolderBatch phb(editor, nullptr);
|
||||
|
||||
nsCOMPtr<nsISelection> selection;
|
||||
res = editor->GetSelection(getter_AddRefs(selection));
|
||||
|
|
Загрузка…
Ссылка в новой задаче