diff options
Diffstat (limited to 'components/script/dom/servoparser.rs')
-rw-r--r-- | components/script/dom/servoparser.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/script/dom/servoparser.rs b/components/script/dom/servoparser.rs new file mode 100644 index 00000000000..18cd881f812 --- /dev/null +++ b/components/script/dom/servoparser.rs @@ -0,0 +1,18 @@ +/* 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::reflector::Reflector; + +#[dom_struct] +pub struct ServoParser { + reflector: Reflector, +} + +impl ServoParser { + pub fn new_inherited() -> Self { + ServoParser { + reflector: Reflector::new(), + } + } +} |