зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1370501 - stylo: Fix ServoStyleRule::GetSelectorTextFromIndex. r=emilio
MozReview-Commit-ID: 6STojaOLggZ --HG-- extra : rebase_source : 39e3949e17c018795e9565124c14f9b7c96f4b53
This commit is contained in:
Родитель
9c589731b4
Коммит
1c57cc83d0
|
@ -149,7 +149,7 @@ SERVO_BINDING_FUNC(Servo_StyleRule_SetStyle, void,
|
|||
RawServoDeclarationBlockBorrowed declarations)
|
||||
SERVO_BINDING_FUNC(Servo_StyleRule_GetSelectorText, void,
|
||||
RawServoStyleRuleBorrowed rule, nsAString* result)
|
||||
SERVO_BINDING_FUNC(Servo_StyleRule_GetSelectorTextFromIndex, void,
|
||||
SERVO_BINDING_FUNC(Servo_StyleRule_GetSelectorTextAtIndex, void,
|
||||
RawServoStyleRuleBorrowed rule, uint32_t index,
|
||||
nsAString* result)
|
||||
SERVO_BINDING_FUNC(Servo_StyleRule_GetSelectorCount, void,
|
||||
|
|
|
@ -262,7 +262,7 @@ ServoStyleRule::GetSelectorCount()
|
|||
nsresult
|
||||
ServoStyleRule::GetSelectorText(uint32_t aSelectorIndex, nsAString& aText)
|
||||
{
|
||||
Servo_StyleRule_GetSelectorTextFromIndex(mRawRule, aSelectorIndex, &aText);
|
||||
Servo_StyleRule_GetSelectorTextAtIndex(mRawRule, aSelectorIndex, &aText);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче