diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-07-08 15:48:55 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-07-12 13:06:56 +0200 |
commit | d678b206169f5d78416b0612d2a614098bf4bc53 (patch) | |
tree | 0e999070708461c4abe0b62d6c951a1e49e775ca /components/script/dom/bindings/utils.rs | |
parent | c064c4950d2be040f0c13c5e8db1e0457f844204 (diff) | |
download | servo-d678b206169f5d78416b0612d2a614098bf4bc53.tar.gz servo-d678b206169f5d78416b0612d2a614098bf4bc53.zip |
Implement the [Exposed] extended attribute on interfaces.
Fixes #2823.
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r-- | components/script/dom/bindings/utils.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs index e7085bf424a..6b2856e7a9e 100644 --- a/components/script/dom/bindings/utils.rs +++ b/components/script/dom/bindings/utils.rs @@ -93,6 +93,9 @@ pub struct DOMClass { /// The HeapSizeOf function wrapper for that interface. pub heap_size_of: unsafe fn(*const c_void) -> usize, + + /// The `Globals` flag for this global interface, if any. + pub global: InterfaceObjectMap::Globals, } unsafe impl Sync for DOMClass {} |