Backed out 3 changesets (bug 1765832) for causing build bustages on Transferable.cpp
Backed out changeset c7c5a5208d60 (bug 1765832) Backed out changeset 05a53421e1d8 (bug 1765832) Backed out changeset 87cf3ec70aab (bug 1765832)
This commit is contained in:
@@ -51,8 +51,8 @@ using EmptyCheckOption = HTMLEditUtils::EmptyCheckOption;
|
||||
*/
|
||||
class MOZ_STACK_CLASS AutoSelectionSetterAfterTableEdit final {
|
||||
private:
|
||||
const RefPtr<HTMLEditor> mHTMLEditor;
|
||||
const RefPtr<Element> mTable;
|
||||
MOZ_KNOWN_LIVE RefPtr<HTMLEditor> mHTMLEditor;
|
||||
MOZ_KNOWN_LIVE RefPtr<Element> mTable;
|
||||
int32_t mCol, mRow, mDirection, mSelected;
|
||||
|
||||
public:
|
||||
@@ -72,6 +72,13 @@ class MOZ_STACK_CLASS AutoSelectionSetterAfterTableEdit final {
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user