зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1890902 - Remove unused assignment. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D207228
This commit is contained in:
Родитель
e4bf8a21e0
Коммит
b6709d2608
|
@ -715,7 +715,7 @@ nsIContent* ContentIteratorBase<NodeType>::GetNextSibling(
|
|||
// For shadow root, instead of getting to the sibling of the parent
|
||||
// directly, we need to get into the light tree of the parent to handle
|
||||
// slotted contents.
|
||||
if (ShadowRoot* shadowRoot = ShadowRoot::FromNode(aNode)) {
|
||||
if (aNode->IsShadowRoot()) {
|
||||
if (nsIContent* child = parent->GetFirstChild()) {
|
||||
return child;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче