aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/main/layout/wrapper.rs')
-rw-r--r--src/components/main/layout/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/wrapper.rs b/src/components/main/layout/wrapper.rs
index cee7a5095a5..8fc8bad2a33 100644
--- a/src/components/main/layout/wrapper.rs
+++ b/src/components/main/layout/wrapper.rs
@@ -112,7 +112,7 @@ pub trait TLayoutNode {
/// FIXME(pcwalton): Don't copy text. Atomically reference count instead.
fn text(&self) -> ~str {
unsafe {
- self.with_text(|text| text.element.data.to_str())
+ self.with_text(|text| text.characterdata.data.to_str())
}
}