mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove usage of various unsafe keyword
This commit is contained in:
parent
78034a90d0
commit
6c26518f61
3 changed files with 17 additions and 16 deletions
|
@ -202,7 +202,7 @@ pub fn get_constructor_object_from_local_name(
|
|||
) -> bool {
|
||||
macro_rules! get_constructor(
|
||||
($binding:ident) => ({
|
||||
unsafe { $binding::GetConstructorObject(cx, global, rval); }
|
||||
$binding::GetConstructorObject(cx, global, rval);
|
||||
true
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue