diff options
Diffstat (limited to 'components/script/dom/bluetoothpermissionresult.rs')
-rw-r--r-- | components/script/dom/bluetoothpermissionresult.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bluetoothpermissionresult.rs b/components/script/dom/bluetoothpermissionresult.rs index ea1097c1f29..047325c5ed3 100644 --- a/components/script/dom/bluetoothpermissionresult.rs +++ b/components/script/dom/bluetoothpermissionresult.rs @@ -41,7 +41,7 @@ impl BluetoothPermissionResult { } pub fn new(global: &GlobalScope, status: &PermissionStatus) -> DomRoot<BluetoothPermissionResult> { - reflect_dom_object(box BluetoothPermissionResult::new_inherited(status), + reflect_dom_object(Box::new(BluetoothPermissionResult::new_inherited(status)), global, BluetoothPermissionResultBinding::Wrap) } |