зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1364274 part 1 - Propagate style bits from Servo ComputedValues to ServoStyleContext. r=heycam
MozReview-Commit-ID: KewMPDdX8iy --HG-- extra : rebase_source : 7e38904b7c5f229e5527b02008cac6459a8bcdc8
This commit is contained in:
Родитель
a0d0686267
Коммит
180940d947
|
@ -470,6 +470,8 @@ SERVO_BINDING_FUNC(Servo_ComputedValues_Inherit, ServoComputedValuesStrong,
|
|||
SERVO_BINDING_FUNC(Servo_ComputedValues_GetVisitedStyle,
|
||||
ServoComputedValuesStrong,
|
||||
ServoComputedValuesBorrowed values)
|
||||
SERVO_BINDING_FUNC(Servo_ComputedValues_GetStyleBits, uint64_t,
|
||||
ServoComputedValuesBorrowed values)
|
||||
// Gets the source style rules for the computed values. This returns
|
||||
// the result via rules, which would include a list of unowned pointers
|
||||
// to RawServoStyleRule.
|
||||
|
|
|
@ -22,6 +22,7 @@ ServoStyleContext::ServoStyleContext(nsStyleContext* aParent,
|
|||
mSource(Move(aComputedValues))
|
||||
{
|
||||
mPresContext = aPresContext;
|
||||
AddStyleBit(Servo_ComputedValues_GetStyleBits(mSource));
|
||||
|
||||
FinishConstruction();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче