Remove unused arguments from methods.

This commit is contained in:
teymour-aldridge 2021-02-05 14:25:02 +00:00
parent 466e895cdf
commit ff767b13a9
6 changed files with 13 additions and 31 deletions

View file

@ -69,7 +69,7 @@ use devtools_traits::NodeInfo;
use dom_struct::dom_struct;
use euclid::default::{Point2D, Rect, Size2D, Vector2D};
use html5ever::{Namespace, Prefix, QualName};
use js::jsapi::{JSObject, JSRuntime};
use js::jsapi::{JSObject};
use libc::{self, c_void, uintptr_t};
use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
use msg::constellation_msg::{BrowsingContextId, PipelineId};
@ -1322,7 +1322,6 @@ where
/// returns it.
#[allow(unsafe_code)]
pub unsafe fn from_untrusted_node_address(
_runtime: *mut JSRuntime,
candidate: UntrustedNodeAddress,
) -> DomRoot<Node> {
// https://github.com/servo/servo/issues/6383