mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Remove get_*
on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
This commit is contained in:
parent
3b376bb319
commit
11a3ce1257
9 changed files with 29 additions and 29 deletions
|
@ -64,7 +64,7 @@ impl LayoutHTMLTextAreaElementHelpers for LayoutJS<HTMLTextAreaElement> {
|
|||
#[allow(unrooted_must_root)]
|
||||
#[allow(unsafe_code)]
|
||||
unsafe fn get_absolute_selection_for_layout(self) -> Option<Range<usize>> {
|
||||
if (*self.unsafe_get()).upcast::<Element>().get_focus_state() {
|
||||
if (*self.unsafe_get()).upcast::<Element>().focus_state() {
|
||||
Some((*self.unsafe_get()).textinput.borrow_for_layout()
|
||||
.get_absolute_selection_range())
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue