aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/touchevent.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-17 01:20:51 -0500
committerArthur Marble <arthur@info9.net>2016-09-17 20:31:46 -0500
commitfd0622a74195092b8873f497727bc654c40729be (patch)
treed6334d4b54239173cafb58ebbe08d7d80d32b972 /components/script/dom/touchevent.rs
parent77170a14bc05fdf2ee420fd94fd661f19318ee64 (diff)
downloadservo-fd0622a74195092b8873f497727bc654c40729be.tar.gz
servo-fd0622a74195092b8873f497727bc654c40729be.zip
This commit refactors shiftKey to shift_key where possible.
Diffstat (limited to 'components/script/dom/touchevent.rs')
-rw-r--r--components/script/dom/touchevent.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/touchevent.rs b/components/script/dom/touchevent.rs
index 5623a8bf572..0a1aac87ecf 100644
--- a/components/script/dom/touchevent.rs
+++ b/components/script/dom/touchevent.rs
@@ -64,7 +64,7 @@ impl TouchEvent {
target_touches: &TouchList,
ctrl_key: bool,
altKey: bool,
- shiftKey: bool,
+ shift_key: bool,
metaKey: bool) -> Root<TouchEvent> {
let ev = TouchEvent::new_uninitialized(window, touches, changed_touches, target_touches);
ev.upcast::<UIEvent>().InitUIEvent(type_,
@@ -73,7 +73,7 @@ impl TouchEvent {
view, detail);
ev.ctrl_key.set(ctrl_key);
ev.alt_key.set(altKey);
- ev.shift_key.set(shiftKey);
+ ev.shift_key.set(shift_key);
ev.meta_key.set(metaKey);
ev
}