Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1484125 - part 1: Create TableSize struct to compute and store nu…
…mber of rows and columns of a <table> element r=m_kato HTMLEditor::GetTableSize() is an XPCOM method but used internally a lot. Therefore, it shouldn't be called for internal use. Additionally, the callers need to declare two int32_t variables, but this causes the code messy. Therefore, this patch creates TableSize struct and it implements HTMLEditor::GetTableSize(). Then, all callers of it is replaced with TableSize struct. New TableSize struct does not support computes <table> element from anchor of Selection since there is no user of this in C++ code. Differential Revision: https://phabricator.services.mozilla.com/D3953 --HG-- extra : moz-landing-system : lando
- Loading branch information