Commit f7d6d27d authored by Gabriel Luong's avatar Gabriel Luong
Browse files

Bug 1568126 - Part 1: Use the contextual WalkerFront in _hideHighlighterIfDeadNode. r=pbro

Differential Revision: https://phabricator.services.mozilla.com/D48579

--HG--
extra : moz-landing-system : lando
parent 53769235
......@@ -1104,7 +1104,7 @@ class HighlightersOverlay {
}
try {
const isInTree = await this.walker.isInDOMTree(node);
const isInTree = await node.walkerFront.isInDOMTree(node);
if (!isInTree) {
hideHighlighter(node);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment