Bug 1554571 - Part 1: Remove unused argument from Servo_ResolveStyle. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D33121
This commit is contained in:
Cameron McCormack
2019-06-27 00:24:54 +00:00
parent f3d90ab94f
commit d883ec22a0
9 changed files with 18 additions and 23 deletions

View File

@@ -286,7 +286,7 @@ void nsHTMLFramesetFrame::Init(nsIContent* aContent, nsContainerFrame* aParent,
//
// Maybe we should change that though.
RefPtr<ComputedStyle> kidStyle =
presShell->StyleSet()->ResolveServoStyle(*child->AsElement());
ServoStyleSet::ResolveServoStyle(*child->AsElement());
nsIFrame* frame;
if (child->IsHTMLElement(nsGkAtoms::frameset)) {
frame = NS_NewHTMLFramesetFrame(presShell, kidStyle);