mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use array instead of linked list for -moz-border-*-colors
This commit is contained in:
parent
a5282cabe0
commit
18a555eaeb
4 changed files with 176 additions and 102 deletions
|
@ -71,7 +71,6 @@ use gecko_bindings::structs::StyleBasicShapeType;
|
|||
use gecko_bindings::structs::StyleShapeSource;
|
||||
use gecko_bindings::structs::StyleTransition;
|
||||
use gecko_bindings::structs::gfxFontFeatureValueSet;
|
||||
use gecko_bindings::structs::nsBorderColors;
|
||||
use gecko_bindings::structs::nsCSSCounterStyleRule;
|
||||
use gecko_bindings::structs::nsCSSFontFaceRule;
|
||||
use gecko_bindings::structs::nsCSSKeyword;
|
||||
|
@ -876,22 +875,10 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_EnsureMozBorderColors(aBorder: *mut nsStyleBorder);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ClearMozBorderColors(aBorder: *mut nsStyleBorder,
|
||||
aSide: Side);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AppendMozBorderColors(aBorder: *mut nsStyleBorder,
|
||||
aSide: Side, aColor: nscolor);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyMozBorderColors(aDest: *mut nsStyleBorder,
|
||||
aSrc: *const nsStyleBorder, aSide: Side);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetMozBorderColors(aBorder: *const nsStyleBorder,
|
||||
aSide: Side) -> *const nsBorderColors;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_FontFamilyList_Clear(aList: *mut FontFamilyList);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue