Make Stylist::quirks_mode hold a QuirksMode

This commit is contained in:
Anthony Ramine 2017-04-23 10:32:16 +02:00
parent 8f1356de60
commit f872fdac9a
4 changed files with 15 additions and 12 deletions

View file

@ -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();
}
}