Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE

MozReview-Commit-ID: JPopq0LudD
This commit is contained in:
Emilio Cobos Álvarez
2018-03-22 19:20:41 +01:00
parent 97286b35c8
commit 1d4859a89a
395 changed files with 3690 additions and 4142 deletions

View File

@@ -35,9 +35,9 @@ using namespace mozilla;
using namespace mozilla::dom;
nsIFrame*
NS_NewNumberControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
NS_NewNumberControlFrame(nsIPresShell* aPresShell, ComputedStyle* aStyle)
{
return new (aPresShell) nsNumberControlFrame(aContext);
return new (aPresShell) nsNumberControlFrame(aStyle);
}
NS_IMPL_FRAMEARENA_HELPERS(nsNumberControlFrame)
@@ -48,8 +48,8 @@ NS_QUERYFRAME_HEAD(nsNumberControlFrame)
NS_QUERYFRAME_ENTRY(nsIFormControlFrame)
NS_QUERYFRAME_TAIL_INHERITING(nsContainerFrame)
nsNumberControlFrame::nsNumberControlFrame(nsStyleContext* aContext)
: nsContainerFrame(aContext, kClassID)
nsNumberControlFrame::nsNumberControlFrame(ComputedStyle* aStyle)
: nsContainerFrame(aStyle, kClassID)
, mHandlingInputEvent(false)
{
}