зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1268392 - Make Servo_GetComputedValues take a node rather than an element. r=bholley
This commit is contained in:
Родитель
1460a1dde0
Коммит
26c0413d34
|
@ -247,7 +247,7 @@ Servo_DropStyleSet(RawServoStyleSet* set)
|
||||||
}
|
}
|
||||||
|
|
||||||
ServoComputedValues*
|
ServoComputedValues*
|
||||||
Servo_GetComputedValues(RawGeckoElement* element)
|
Servo_GetComputedValues(RawGeckoNode* node)
|
||||||
{
|
{
|
||||||
MOZ_CRASH("stylo: shouldn't be calling Servo_GetComputedValues in a "
|
MOZ_CRASH("stylo: shouldn't be calling Servo_GetComputedValues in a "
|
||||||
"non-MOZ_STYLO build");
|
"non-MOZ_STYLO build");
|
||||||
|
|
|
@ -78,7 +78,7 @@ RawServoStyleSet* Servo_InitStyleSet();
|
||||||
void Servo_DropStyleSet(RawServoStyleSet* set);
|
void Servo_DropStyleSet(RawServoStyleSet* set);
|
||||||
|
|
||||||
// Computed style data.
|
// Computed style data.
|
||||||
ServoComputedValues* Servo_GetComputedValues(RawGeckoElement* element);
|
ServoComputedValues* Servo_GetComputedValues(RawGeckoNode* node);
|
||||||
ServoComputedValues* Servo_GetComputedValuesForAnonymousBox(ServoComputedValues* parentStyleOrNull,
|
ServoComputedValues* Servo_GetComputedValuesForAnonymousBox(ServoComputedValues* parentStyleOrNull,
|
||||||
nsIAtom* pseudoTag,
|
nsIAtom* pseudoTag,
|
||||||
RawServoStyleSet* set);
|
RawServoStyleSet* set);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче