diff options
author | Josh Matthews <josh@joshmatthews.net> | 2013-06-27 18:41:06 +0100 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-07-03 15:18:05 -0400 |
commit | eb95d82fe6054c12f8cd50fde90c9c3de794459e (patch) | |
tree | dcb10d58fe09223542a75f4307930d902a8daeed /src/components/script/dom/blob.rs | |
parent | 213d9a011a63842434df4e8ce3c359d08232aefa (diff) | |
download | servo-eb95d82fe6054c12f8cd50fde90c9c3de794459e.tar.gz servo-eb95d82fe6054c12f8cd50fde90c9c3de794459e.zip |
Implement WebIDL method overloads. Fixes #540.
Diffstat (limited to 'src/components/script/dom/blob.rs')
-rw-r--r-- | src/components/script/dom/blob.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/script/dom/blob.rs b/src/components/script/dom/blob.rs new file mode 100644 index 00000000000..6850d1a9acc --- /dev/null +++ b/src/components/script/dom/blob.rs @@ -0,0 +1,17 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +use dom::bindings::utils::{WrapperCache}; + +pub struct Blob { + wrapper: WrapperCache +} + +impl Blob { + pub fn new() -> @mut Blob { + @mut Blob { + wrapper: WrapperCache::new() + } + } +} |