mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -65,7 +65,11 @@ pub struct ObserverOptions {
|
|||
}
|
||||
|
||||
impl MutationObserver {
|
||||
fn new_with_proto(global: &Window, proto: Option<HandleObject>, callback: Rc<MutationCallback>) -> DomRoot<MutationObserver> {
|
||||
fn new_with_proto(
|
||||
global: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
callback: Rc<MutationCallback>,
|
||||
) -> DomRoot<MutationObserver> {
|
||||
let boxed_observer = Box::new(MutationObserver::new_inherited(callback));
|
||||
reflect_dom_object2(boxed_observer, global, proto)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue