зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1383307: Use proper initializer in ServoStyleContext constructor. r=manishearth
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
Родитель
1e214a80ab
Коммит
698850aeb4
|
@ -22,11 +22,10 @@ ServoStyleContext::ServoStyleContext(
|
|||
CSSPseudoElementType aPseudoType,
|
||||
ServoComputedDataForgotten aComputedValues)
|
||||
: nsStyleContext(aParent, aPseudoTag, aPseudoType)
|
||||
, mPresContext(aPresContext)
|
||||
, mSource(aComputedValues)
|
||||
{
|
||||
mPresContext = aPresContext;
|
||||
AddStyleBit(Servo_ComputedValues_GetStyleBits(this));
|
||||
|
||||
FinishConstruction();
|
||||
|
||||
// No need to call ApplyStyleFixups here, since fixups are handled by Servo when
|
||||
|
|
Загрузка…
Ссылка в новой задаче