aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbuttonelement.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-17 02:11:19 -0500
committerArthur Marble <arthur@info9.net>2016-09-17 20:31:46 -0500
commit5ce3510a50cd908708efdce9e18749f1596d197f (patch)
tree3dfc4d7f91835a9f3f9829a099c052bb443f4826 /components/script/dom/htmlbuttonelement.rs
parentbdbc04409d25770b40c0f806bfa815e5a2313d21 (diff)
downloadservo-5ce3510a50cd908708efdce9e18749f1596d197f.tar.gz
servo-5ce3510a50cd908708efdce9e18749f1596d197f.zip
Refactored metaKey to meta_key where possible
Diffstat (limited to 'components/script/dom/htmlbuttonelement.rs')
-rw-r--r--components/script/dom/htmlbuttonelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index e1e2a0ccd41..258d535f527 100644
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -283,7 +283,7 @@ impl Activatable for HTMLButtonElement {
// https://html.spec.whatwg.org/multipage/#implicit-submission
#[allow(unsafe_code)]
- fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, alt_key: bool, metaKey: bool) {
+ fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, alt_key: bool, meta_key: bool) {
let doc = document_from_node(self);
let node = doc.upcast::<Node>();
let owner = self.form_owner();
@@ -297,7 +297,7 @@ impl Activatable for HTMLButtonElement {
ctrl_key,
shift_key,
alt_key,
- metaKey,
+ meta_key,
ActivationSource::NotFromClick));
}
}