Add sizeof for AuthorStyles.

This commit is contained in:
Xidorn Quan 2018-02-19 15:12:13 +11:00
parent d423e54d58
commit f518e55c28
6 changed files with 97 additions and 88 deletions

View file

@ -604,16 +604,6 @@ extern "C" {
extern "C" {
pub fn Servo_SourceSizeList_Drop(ptr: RawServoSourceSizeListOwned);
}
extern "C" {
pub fn Gecko_RecordTraversalStatistics(
total: u32,
parallel: u32,
total_t: u32,
parallel_t: u32,
total_s: u32,
parallel_s: u32,
);
}
extern "C" {
pub fn Gecko_IsSignificantChild(
node: RawGeckoNodeBorrowed,
@ -2317,6 +2307,13 @@ extern "C" {
document_styles: RawServoStyleSetBorrowed,
);
}
extern "C" {
pub fn Servo_AuthorStyles_SizeOfIncludingThis(
malloc_size_of: MallocSizeOf,
malloc_enclosing_size_of: MallocSizeOf,
self_: RawServoAuthorStylesBorrowed,
) -> usize;
}
extern "C" {
pub fn Servo_StyleContext_AddRef(ctx: ServoStyleContextBorrowed);
}