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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user