Closed Bug 1705598 Opened 4 years ago Closed 4 years ago

Get rid of `WSRunScanner::mHTMLEditor` because of unused

Categories

(Core :: DOM: Editor, task, P3)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(8 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No description provided.

I think that it's no matter to make WSRunScanner work without editing host.
Therefore, this patch make it take pointer of Element rather than reference.

Depends on D112502

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/4f8394b8bc13 part 1: Get rid of `WSRunScanner::mHTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/16465ad721a6 part 2: Make the constructor of `WSRunScanner` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/643e94d61394 part 3: Make `WSRunScanner::GetPreviousEditableCharPoint()` and `WSRunScanner::GetInclusiveNextEditableCharPoint()` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/296ffa58e3dc part 4: Make `WSRunScanner::ScanNextVisibleNodeOrBlockBoundary()` and `WSRunScanner::ScanPreviousVisibleNodeOrBlockBoundary()` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/14d4774d13b1 part 5: Make `WSRunScanner::GetRangeInTextNodesToForwardDeleteFrom()` and `WSRunScanner::GetRangeInTextNodesToBackspaceFrom()` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/fd494b2c2e05 part 6: Make `WSRunScanner::GetRangesForDeletingAtomicContent()` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/bc23fb1f772f part 7: Make `WSRunScanner::GetRangeContainingInvisibleWhiteSpacesAtRangeBoundaries()` take editing host instead of `HTMLEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/cc7a0bbb64fb part 8: Make `WSRunScanner::AutoInclusiveAncestorBlockElementsJoiner()` take editing host instead of `HTMLEditor` r=m_kato
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: