mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
This commit is contained in:
parent
6df1c6d7e7
commit
611dc4bc70
28 changed files with 2 additions and 67 deletions
|
@ -2565,7 +2565,6 @@ impl ElementMethods for Element {
|
|||
}
|
||||
|
||||
// https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
|
||||
#[allow(unrooted_must_root)]
|
||||
fn RequestFullscreen(&self) -> Rc<Promise> {
|
||||
let doc = document_from_node(self);
|
||||
doc.enter_fullscreen(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue