Bug 1936476 - Remove a comment regarding GetParentComputedStyle in RestyleManager. r=layout-reviewers,tlouw DONTBUILD

`nsIFrame::GetParentComputedStyle()` has multiple callers, and is implemented
and overridden by several frame classes. It is not worth trying to remove it.

Differential Revision: https://phabricator.services.mozilla.com/D231771
This commit is contained in:
Ting-Yu Lin
2024-12-11 22:47:49 +00:00
parent 43586d4e2e
commit 7dedca0f5e

View File

@@ -3857,8 +3857,6 @@ void RestyleManager::DoReparentComputedStyleForFirstLine(
}
}
// FIXME(emilio): This is the only caller of GetParentComputedStyle, let's try
// to remove it?
nsIFrame* providerFrame;
ComputedStyle* newParentStyle =
aFrame->GetParentComputedStyle(&providerFrame);