aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/pluginarray.rs
diff options
context:
space:
mode:
authorchansuke <chansuke@georepublic.de>2018-09-18 23:24:15 +0900
committerJosh Matthews <josh@joshmatthews.net>2018-09-19 17:40:47 -0400
commitc37a345dc9f4dda6ea29c42f96f6c7201c42cbac (patch)
tree1f05b49bac02318455a59d5b143c186fd872bdb9 /components/script/dom/pluginarray.rs
parent2ca7a134736bb4759ff209c1bc0b6dc3cc1984c9 (diff)
downloadservo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.tar.gz
servo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.zip
Format script component
Diffstat (limited to 'components/script/dom/pluginarray.rs')
-rw-r--r--components/script/dom/pluginarray.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/components/script/dom/pluginarray.rs b/components/script/dom/pluginarray.rs
index e2d0c12da27..38a53baef50 100644
--- a/components/script/dom/pluginarray.rs
+++ b/components/script/dom/pluginarray.rs
@@ -19,21 +19,22 @@ pub struct PluginArray {
impl PluginArray {
pub fn new_inherited() -> PluginArray {
PluginArray {
- reflector_: Reflector::new()
+ reflector_: Reflector::new(),
}
}
pub fn new(global: &GlobalScope) -> DomRoot<PluginArray> {
- reflect_dom_object(Box::new(PluginArray::new_inherited()),
- global,
- PluginArrayBinding::Wrap)
+ reflect_dom_object(
+ Box::new(PluginArray::new_inherited()),
+ global,
+ PluginArrayBinding::Wrap,
+ )
}
}
impl PluginArrayMethods for PluginArray {
// https://html.spec.whatwg.org/multipage/#dom-pluginarray-refresh
- fn Refresh(&self, _reload: bool) {
- }
+ fn Refresh(&self, _reload: bool) {}
// https://html.spec.whatwg.org/multipage/#dom-pluginarray-length
fn Length(&self) -> u32 {