Bug 1170484 - Followup fix to make the guard object actually a guard object. r=me CLOSED TREE

This commit is contained in:
Bobby Holley 2015-08-24 10:01:10 -07:00
Родитель f1fc12d77b
Коммит 268566e18f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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));