aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2015-10-12 17:43:49 -0700
committerBobby Holley <bobbyholley@gmail.com>2015-10-27 12:41:16 -0700
commit441c84d75d412d24281b67821662ee50e8b1152b (patch)
treea9d05524b441a863382aed6f0f6cbc8496a4de59 /components/script/layout_interface.rs
parent85596b55106775d1eef948c39708c1b02499a9a4 (diff)
downloadservo-441c84d75d412d24281b67821662ee50e8b1152b.tar.gz
servo-441c84d75d412d24281b67821662ee50e8b1152b.zip
Pass the document instead of the documentElement to reflow.
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index 9647ddd4376..5c41a04363c 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -174,7 +174,7 @@ pub struct ScriptReflow {
/// General reflow data.
pub reflow_info: Reflow,
/// The document node.
- pub document_root: TrustedNodeAddress,
+ pub document: TrustedNodeAddress,
/// The channel through which messages can be sent back to the script task.
pub script_chan: Sender<ConstellationControlMsg>,
/// The current window size.