Remove some accessors for public fields.

(Maybe they date from this was a trait?)
This commit is contained in:
Simon Sapin 2017-02-26 19:01:54 +01:00
parent e0c63efe01
commit d007eef5c7
2 changed files with 4 additions and 16 deletions

View file

@ -159,10 +159,6 @@ impl ComputedValues {
!self.get_box().gecko.mBinding.mRawPtr.is_null()
}
pub fn root_font_size(&self) -> Au { self.root_font_size }
pub fn set_root_font_size(&mut self, s: Au) { self.root_font_size = s; }
pub fn set_writing_mode(&mut self, mode: WritingMode) { self.writing_mode = mode; }
// FIXME(bholley): Implement this properly.
#[inline]
pub fn is_multicol(&self) -> bool { false }