Allow for build_display_list to be called immutably

This commit is contained in:
Manish Goregaokar 2018-02-14 15:48:00 -08:00
parent 5cd15eeb54
commit 265a2ab2cc
2 changed files with 45 additions and 8 deletions

View file

@ -1777,7 +1777,7 @@ impl BlockFlow {
}
}
pub fn has_scrolling_overflow(&mut self) -> bool {
pub fn has_scrolling_overflow(&self) -> bool {
self.flags.contains(BlockFlowFlags::HAS_SCROLLING_OVERFLOW)
}