зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1765832 - Part 3: Remove AutoSelectionSetterAfterTableEdit::CancelSetCaret r=masayuki
The comment is lying as nothing actually uses it. Differential Revision: https://phabricator.services.mozilla.com/D146631
This commit is contained in:
Родитель
71c589edd6
Коммит
f07b765323
|
@ -51,8 +51,8 @@ using EmptyCheckOption = HTMLEditUtils::EmptyCheckOption;
|
||||||
*/
|
*/
|
||||||
class MOZ_STACK_CLASS AutoSelectionSetterAfterTableEdit final {
|
class MOZ_STACK_CLASS AutoSelectionSetterAfterTableEdit final {
|
||||||
private:
|
private:
|
||||||
MOZ_KNOWN_LIVE RefPtr<HTMLEditor> mHTMLEditor;
|
const RefPtr<HTMLEditor> mHTMLEditor;
|
||||||
MOZ_KNOWN_LIVE RefPtr<Element> mTable;
|
const RefPtr<Element> mTable;
|
||||||
int32_t mCol, mRow, mDirection, mSelected;
|
int32_t mCol, mRow, mDirection, mSelected;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -72,13 +72,6 @@ class MOZ_STACK_CLASS AutoSelectionSetterAfterTableEdit final {
|
||||||
mSelected);
|
mSelected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is needed to abort the caret reset in the destructor
|
|
||||||
// when one method yields control to another
|
|
||||||
void CancelSetCaret() {
|
|
||||||
mHTMLEditor = nullptr;
|
|
||||||
mTable = nullptr;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
Загрузка…
Ссылка в новой задаче