aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/activation.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/activation.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/activation.rs')
-rw-r--r--components/script/dom/activation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs
index 221aa8657eb..3f6b9890e4b 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -63,7 +63,7 @@ pub enum ActivationSource {
// https://html.spec.whatwg.org/multipage/#run-synthetic-click-activation-steps
pub fn synthetic_click_activation(element: &Element,
ctrl_key: bool,
- shiftKey: bool,
+ shift_key: bool,
altKey: bool,
metaKey: bool,
source: ActivationSource) {
@@ -94,7 +94,7 @@ pub fn synthetic_click_activation(element: &Element,
0,
0,
ctrl_key,
- shiftKey,
+ shift_key,
altKey,
metaKey,
0,