aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storageevent.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-05-23 19:49:53 -0400
committerCorey Farwell <coreyf@rwell.org>2015-05-24 00:01:49 -0400
commit8e3f4bba85b9b246fb7da8ea0994fb0160578c1b (patch)
tree2c66c695c97d638df81aeb40ac54ccc6d0cc8cb9 /components/script/dom/storageevent.rs
parent7561f7b83f27811683c1e724d75a935573a72813 (diff)
downloadservo-8e3f4bba85b9b246fb7da8ea0994fb0160578c1b.tar.gz
servo-8e3f4bba85b9b246fb7da8ea0994fb0160578c1b.zip
Reduce max line length from 150 to 120 characters
Part of https://github.com/servo/servo/issues/6041
Diffstat (limited to 'components/script/dom/storageevent.rs')
-rw-r--r--components/script/dom/storageevent.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script/dom/storageevent.rs b/components/script/dom/storageevent.rs
index 1fad3001140..e6de4b0575a 100644
--- a/components/script/dom/storageevent.rs
+++ b/components/script/dom/storageevent.rs
@@ -73,7 +73,11 @@ impl StorageEvent {
let url = init.url.clone();
let storageArea = init.storageArea.r();
let bubbles = if init.parent.bubbles { EventBubbles::Bubbles } else { EventBubbles::DoesNotBubble };
- let cancelable = if init.parent.cancelable { EventCancelable::Cancelable } else { EventCancelable::NotCancelable };
+ let cancelable = if init.parent.cancelable {
+ EventCancelable::Cancelable
+ } else {
+ EventCancelable::NotCancelable
+ };
let event = StorageEvent::new(global, type_,
bubbles, cancelable,
key, oldValue, newValue,