aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2016-05-27 13:32:05 -0400
committerJosh Matthews <josh@joshmatthews.net>2016-05-27 13:32:05 -0400
commit3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e (patch)
tree4012cf37e6c594149bc8fe7e19b097c7518156e8 /components/script/dom/document.rs
parent4ebc065cba15184c8f63a28f128ec833fffccef7 (diff)
downloadservo-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.rs2
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);