auto merge of #1051 : Ms2ger/servo/private-root, r=jdm

In preparation for removing it as part of making Document a Node.
This commit is contained in:
bors-servo 2013-10-14 10:22:00 -07:00
commit 8d3c7a2ded
4 changed files with 17 additions and 22 deletions

View file

@ -418,7 +418,7 @@ impl<'self, View> AbstractNode<View> {
pub fn is_in_doc(&self) -> bool {
do self.with_base |node| {
do node.owner_doc.with_base |document| {
match document.root {
match document.GetDocumentElement() {
None => false,
Some(root) => {
let mut node = *self;