mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -2987,9 +2987,10 @@ impl Document {
|
|||
/// <https://drafts.csswg.org/resize-observer/#deliver-resize-loop-error-notification>
|
||||
pub(crate) fn deliver_resize_loop_error_notification(&self) {
|
||||
let global_scope = self.window.upcast::<GlobalScope>();
|
||||
let mut error_info: ErrorInfo = Default::default();
|
||||
error_info.message =
|
||||
"ResizeObserver loop completed with undelivered notifications.".to_string();
|
||||
let error_info: ErrorInfo = crate::dom::bindings::error::ErrorInfo {
|
||||
message: "ResizeObserver loop completed with undelivered notifications.".to_string(),
|
||||
..Default::default()
|
||||
};
|
||||
global_scope.report_an_error(error_info, HandleValue::null());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue