mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove unused arguments from methods.
This commit is contained in:
parent
466e895cdf
commit
ff767b13a9
6 changed files with 13 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue