diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-04-23 10:32:16 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-04-26 17:30:28 +0200 |
commit | f872fdac9a49ef1bc551e507439fa322e4d31528 (patch) | |
tree | 9f4683dc258f6726dabf5cf78fb6d8b6eca00081 /components/script/dom | |
parent | 8f1356de60d0f0b1571b0e84b929ba7d8054177f (diff) | |
download | servo-f872fdac9a49ef1bc551e507439fa322e4d31528.tar.gz servo-f872fdac9a49ef1bc551e507439fa322e4d31528.zip |
Make Stylist::quirks_mode hold a QuirksMode
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index ab124ba1734..06b8f7596cf 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -542,7 +542,7 @@ impl Document { self.quirks_mode.set(mode); if mode == QuirksMode::Quirks { - self.window.layout_chan().send(Msg::SetQuirksMode).unwrap(); + self.window.layout_chan().send(Msg::SetQuirksMode(mode)).unwrap(); } } |