mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Simple privatizations
This commit is contained in:
parent
5b72087944
commit
acd98a73a4
36 changed files with 59 additions and 22 deletions
|
@ -15,6 +15,7 @@ use std::ptr;
|
|||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[jstraceable]
|
||||
#[privatize]
|
||||
pub struct BrowserContext {
|
||||
history: Vec<SessionHistoryEntry>,
|
||||
active_index: uint,
|
||||
|
@ -66,6 +67,7 @@ impl BrowserContext {
|
|||
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
#[privatize]
|
||||
pub struct SessionHistoryEntry {
|
||||
document: JS<Document>,
|
||||
children: Vec<BrowserContext>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue