servo: Merge #3684 - Add #[dom_struct], inline autogenerated trace() methods (from Manishearth:dom_struct); r=jdm

This attribute implies #[jstraceable], #[privatize], and #[must_root].

Source-Repo: https://github.com/servo/servo
Source-Revision: 9af090006017747809f5f72a8870bd516b20f483
This commit is contained in:
Manish Goregaokar
2014-10-15 23:24:20 -06:00
parent f497b6922c
commit 3bb2ca07b8
121 changed files with 134 additions and 361 deletions

View File

@@ -18,9 +18,7 @@ use dom::node::{DocumentFragmentNodeTypeId, Node, NodeHelpers, window_from_node}
use dom::nodelist::NodeList;
use servo_util::str::DOMString;
#[jstraceable]
#[must_root]
#[privatize]
#[dom_struct]
pub struct DocumentFragment {
node: Node,
}