mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -16,7 +16,7 @@ use libc::c_void;
|
|||
use std::ptr;
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
pub struct BrowserContext {
|
||||
history: Vec<SessionHistoryEntry>,
|
||||
active_index: uint,
|
||||
|
@ -66,7 +66,7 @@ impl BrowserContext {
|
|||
}
|
||||
}
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
pub struct SessionHistoryEntry {
|
||||
document: JS<Document>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue