diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
commit | 3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e (patch) | |
tree | 4012cf37e6c594149bc8fe7e19b097c7518156e8 /components/script/dom/document.rs | |
parent | 4ebc065cba15184c8f63a28f128ec833fffccef7 (diff) | |
download | servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.tar.gz servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.zip |
Remove empty lines following braces.
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 00dec5d995f..cda64a2070d 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -600,7 +600,6 @@ impl Document { /// Reassign the focus context to the element that last requested focus during this /// transaction, or none if no elements requested it. pub fn commit_focus_transaction(&self, focus_type: FocusType) { - if let Some(ref elem) = self.focused.get() { let node = elem.upcast::<Node>(); elem.set_focus_state(false); @@ -755,7 +754,6 @@ impl Document { client_point: Point2D<f32>, pressure: f32, phase_now: TouchpadPressurePhase) { - let phase_before = self.touchpad_pressure_phase.get(); self.touchpad_pressure_phase.set(phase_now); |