You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions returning `Root<T>` are prefixed by "root_" and the ones returning
`*const T` by "native_".
Functions taking `*mut JSObject` are now suffixed by "_from_object" and the ones
taking `&T` by "_from_reflector".
Copy file name to clipboardExpand all lines: components/script/dom/browsercontext.rs
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
-
use dom::bindings::conversions::native_from_handleobject;
6
-
use dom::bindings::conversions::{ToJSValConvertible};
5
+
use dom::bindings::conversions::{ToJSValConvertible, root_from_handleobject};
7
6
use dom::bindings::js::{JS,Root};
8
7
use dom::bindings::proxyhandler::{fill_property_descriptor, get_property_descriptor};
9
8
use dom::bindings::reflector::{Reflectable,Reflector};
0 commit comments