aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/activation.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-17 01:10:12 -0500
committerArthur Marble <arthur@info9.net>2016-09-17 20:31:46 -0500
commit77170a14bc05fdf2ee420fd94fd661f19318ee64 (patch)
treef3b565a1cb82acaec005a762e3f667452eaf3750 /components/script/dom/activation.rs
parent83f687a7be2d4cdda11f5ec03133c23d6d621e78 (diff)
downloadservo-77170a14bc05fdf2ee420fd94fd661f19318ee64.tar.gz
servo-77170a14bc05fdf2ee420fd94fd661f19318ee64.zip
This commit refactors ctrlKey to ctrl_key wherever 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 5c59393f766..221aa8657eb 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -62,7 +62,7 @@ pub enum ActivationSource {
// https://html.spec.whatwg.org/multipage/#run-synthetic-click-activation-steps
pub fn synthetic_click_activation(element: &Element,
- ctrlKey: bool,
+ ctrl_key: bool,
shiftKey: bool,
altKey: bool,
metaKey: bool,
@@ -93,7 +93,7 @@ pub fn synthetic_click_activation(element: &Element,
0,
0,
0,
- ctrlKey,
+ ctrl_key,
shiftKey,
altKey,
metaKey,