diff options
author | bors-servo <release+servo@mozilla.com> | 2013-10-17 09:49:20 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-10-17 09:49:20 -0700 |
commit | c14c2cc63fec15f1f6d9ff0156a0137fbef50ff1 (patch) | |
tree | a618504bc2096f5be1aa3223acebd4071a56321b /src/components/script/script_task.rs | |
parent | 34f89b27b36220748a344b32b4ba0cb4e8efd5a4 (diff) | |
parent | c08e4fe36b128208c4386539a137a3250a7e4434 (diff) | |
download | servo-c14c2cc63fec15f1f6d9ff0156a0137fbef50ff1.tar.gz servo-c14c2cc63fec15f1f6d9ff0156a0137fbef50ff1.zip |
auto merge of #1066 : Ms2ger/servo/priv-owner-doc, r=jdm
When `Document` is a `Node`, we can only set its `owner_doc` after creating the `AbstractDocument`, and thus the `Document`, and thus the `Node`; i.e., when creating the `Node`, the `AbstractDocument` can't exist yet. That means that we'll need to turn `owner_doc` back into an `Option`. We don't want to expose that to everyone, though, so this adds encapsulation so we'll be able to just `unwrap` in the `owner_doc()` function rather than at all call sites.
Diffstat (limited to 'src/components/script/script_task.rs')
0 files changed, 0 insertions, 0 deletions