mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove get_ prefix for functions in LayoutHTMLInputElementHelpers
This commit is contained in:
parent
2d503c8281
commit
c9193eaeca
3 changed files with 18 additions and 18 deletions
|
@ -377,7 +377,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
},
|
||||
// Others
|
||||
_ => {
|
||||
match this.get_size_for_layout() {
|
||||
match this.size_for_layout() {
|
||||
0 => None,
|
||||
s => Some(s as i32),
|
||||
}
|
||||
|
@ -571,7 +571,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
// TODO option and menuitem can also have a checked state.
|
||||
match self.downcast::<HTMLInputElement>() {
|
||||
Some(input) => unsafe {
|
||||
input.get_checked_state_for_layout()
|
||||
input.checked_state_for_layout()
|
||||
},
|
||||
None => false,
|
||||
}
|
||||
|
@ -583,7 +583,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
// TODO progress elements can also be matched with :indeterminate
|
||||
match self.downcast::<HTMLInputElement>() {
|
||||
Some(input) => unsafe {
|
||||
input.get_indeterminate_state_for_layout()
|
||||
input.indeterminate_state_for_layout()
|
||||
},
|
||||
None => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue