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

@@ -29,9 +29,9 @@ using namespace mozilla;
using namespace mozilla::dom;
nsIFrame*
NS_NewDateTimeControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
NS_NewDateTimeControlFrame(nsIPresShell* aPresShell, ComputedStyle* aStyle)
{
return new (aPresShell) nsDateTimeControlFrame(aContext);
return new (aPresShell) nsDateTimeControlFrame(aStyle);
}
NS_IMPL_FRAMEARENA_HELPERS(nsDateTimeControlFrame)
@@ -41,8 +41,8 @@ NS_QUERYFRAME_HEAD(nsDateTimeControlFrame)
NS_QUERYFRAME_ENTRY(nsIAnonymousContentCreator)
NS_QUERYFRAME_TAIL_INHERITING(nsContainerFrame)
nsDateTimeControlFrame::nsDateTimeControlFrame(nsStyleContext* aContext)
: nsContainerFrame(aContext, kClassID)
nsDateTimeControlFrame::nsDateTimeControlFrame(ComputedStyle* aStyle)
: nsContainerFrame(aStyle, kClassID)
{
}