diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-12-01 02:50:06 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-12-06 13:15:06 -1000 |
commit | 620a67ff14b21c9da2d23bd96ecb9bb191738457 (patch) | |
tree | f97ae58850c4211664f99b1cb3c835955fe1452a /components/script/dom/crypto.rs | |
parent | 73b6e705b4e18f53f36c8af98543dc2819764ef5 (diff) | |
download | servo-620a67ff14b21c9da2d23bd96ecb9bb191738457.tar.gz servo-620a67ff14b21c9da2d23bd96ecb9bb191738457.zip |
Mark JSTraceable and its method as unsafe
Diffstat (limited to 'components/script/dom/crypto.rs')
-rw-r--r-- | components/script/dom/crypto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/crypto.rs b/components/script/dom/crypto.rs index 22466f3f14c..4120456c77c 100644 --- a/components/script/dom/crypto.rs +++ b/components/script/dom/crypto.rs @@ -15,7 +15,7 @@ use js::jsapi::{JSContext, JSObject}; use js::jsapi::{JS_GetArrayBufferViewType, Type}; use rand::{OsRng, Rng}; -no_jsmanaged_fields!(OsRng); +unsafe_no_jsmanaged_fields!(OsRng); // https://developer.mozilla.org/en-US/docs/Web/API/Crypto #[dom_struct] |