mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove unused Servo_RestyleDocument function.
This commit is contained in:
parent
614e9ca840
commit
d563b498e8
2 changed files with 0 additions and 14 deletions
|
@ -943,10 +943,6 @@ extern "C" {
|
|||
set: RawServoStyleSetBorrowed)
|
||||
-> nsRestyleHint;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_RestyleDocument(doc: RawGeckoDocumentBorrowed,
|
||||
set: RawServoStyleSetBorrowedMut);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_RestyleSubtree(node: RawGeckoNodeBorrowed,
|
||||
set: RawServoStyleSetBorrowedMut);
|
||||
|
|
|
@ -120,16 +120,6 @@ pub extern "C" fn Servo_RestyleSubtree(node: RawGeckoNodeBorrowed,
|
|||
restyle_subtree(node, raw_data);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn Servo_RestyleDocument(doc: RawGeckoDocumentBorrowed, raw_data: RawServoStyleSetBorrowedMut) -> () {
|
||||
let document = GeckoDocument(doc);
|
||||
let node = match document.root_node() {
|
||||
Some(x) => x,
|
||||
None => return,
|
||||
};
|
||||
restyle_subtree(node, raw_data);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn Servo_StyleWorkerThreadCount() -> u32 {
|
||||
*NUM_THREADS as u32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue